Notification portée à 2000ms

This commit is contained in:
fredtempez 2018-12-28 16:53:18 +01:00
parent 2d1faaa735
commit 27aaed320a
1 changed files with 2 additions and 2 deletions

View File

@ -192,11 +192,11 @@ core.start = function() {
// Disparition de la notification // Disparition de la notification
notificationTimer = setTimeout(function() { notificationTimer = setTimeout(function() {
$("#notification").fadeOut(); $("#notification").fadeOut();
}, 1500); }, 2000);
// Barre de progression // Barre de progression
$("#notificationProgress").animate({ $("#notificationProgress").animate({
"width": "0%" "width": "0%"
}, 1500, "linear"); }, 2000, "linear");
}) })
.trigger("mouseleave"); .trigger("mouseleave");
$("#notificationClose").on("click", function() { $("#notificationClose").on("click", function() {