do not dismiss message when error message
All checks were successful
Tests / test (push) Successful in 25s
All checks were successful
Tests / test (push) Successful in 25s
This commit is contained in:
parent
e78a63c67f
commit
5fa3d32c57
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const alert = document.getElementById('auto-dismiss-alert-{{ forloop.counter0|default:'0' }}');
|
||||
if (alert) {
|
||||
if (alert && !alert.classList.contains('alert-danger')) {
|
||||
setTimeout(function() {
|
||||
let opacity = 1;
|
||||
const fadeOutInterval = setInterval(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue