Timer 2000 à 3000

This commit is contained in:
Fred Tempez 2021-11-23 12:20:58 +01:00 committed by fredtempez
parent bc070c05d7
commit 3f3ceaed31

View File

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