Improve alert fadeout
This commit is contained in:
parent
66aa3d6fdc
commit
769d24b4b7
@ -47,10 +47,13 @@ $(document).ready(function () {
|
|||||||
$("#msg-alert-box .alert").fadeTo(1000, 0.5);
|
$("#msg-alert-box .alert").fadeTo(1000, 0.5);
|
||||||
}
|
}
|
||||||
if (msginteractiontick >= gone) {
|
if (msginteractiontick >= gone) {
|
||||||
$("#msg-alert-box .alert").fadeOut("slow", function () {
|
setTimeout(function () {
|
||||||
});
|
if (msginteractiontick >= gone) {
|
||||||
|
$("#msg-alert-box .alert").fadeOut("slow");
|
||||||
window.clearInterval(msgticker);
|
window.clearInterval(msgticker);
|
||||||
}
|
}
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
}, 1000 * 1);
|
}, 1000 * 1);
|
||||||
|
|
||||||
$("#msg-alert-box").on("mouseenter", function () {
|
$("#msg-alert-box").on("mouseenter", function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user