mirror of
https://github.com/SuperBFG7/ympd
synced 2025-09-04 11:47:55 +00:00
Fixed alertbox
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user