mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-05 06:16:16 +00:00
Fixed alertbox
This commit is contained in:
parent
c494359a69
commit
51b02152be
@ -1344,6 +1344,7 @@ function showNotification(notificationTitle,notificationText,notificationHtml,no
|
||||
if (alertTimeout)
|
||||
clearTimeout(alertTimeout);
|
||||
alertTimeout = setTimeout(function() {
|
||||
if (document.getElementById('alertBox'))
|
||||
document.getElementById('alertBox').classList.remove('alertBoxActive');
|
||||
setTimeout(function() {
|
||||
document.getElementById('alertBox').remove();
|
||||
|
Loading…
Reference in New Issue
Block a user