Explorar el Código

Fade out pour les notifications

Fluidifie un peu leur fermeture (le slideUp faisait disparaître la
notification avant qu'elle ne soit totalement refermée)
Marien Fressinaud hace 12 años
padre
commit
605487b42d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/scripts/main.js

+ 1 - 1
public/scripts/main.js

@@ -461,7 +461,7 @@ function init_actualize() {
 }
 }
 
 
 function closeNotification() {
 function closeNotification() {
-	$(".notification").slideUp(200, function () {
+	$(".notification").fadeOut(600, function () {
 		$(".notification").remove();
 		$(".notification").remove();
 	});
 	});
 }
 }