2
0
Fork 0

Improve alert fadeout

master
Skylar Ittner vor 6 Jahren
Ursprung 66aa3d6fdc
Commit 769d24b4b7

@ -47,9 +47,12 @@ $(document).ready(function () {
$("#msg-alert-box .alert").fadeTo(1000, 0.5);
}
if (msginteractiontick >= gone) {
$("#msg-alert-box .alert").fadeOut("slow", function () {
});
window.clearInterval(msgticker);
setTimeout(function () {
if (msginteractiontick >= gone) {
$("#msg-alert-box .alert").fadeOut("slow");
window.clearInterval(msgticker);
}
}, 1000);
}
}, 1000 * 1);

Laden…
Abbrechen
Speichern