Explorar el Código

Correction bug notification

Marien Fressinaud hace 13 años
padre
commit
b0a9ce7990
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      public/scripts/notification.js

+ 3 - 3
public/scripts/notification.js

@@ -1,11 +1,11 @@
 function closeNotification () {
-	$("#notification").slideUp (200, function () {
-		$("#notification").remove ();
+	$(".notification").slideUp (200, function () {
+		$(".notification").remove ();
 	});
 }
 
 $(document).ready (function () {
-	notif = $("#notification");
+	notif = $(".notification");
 	if (notif[0] !== undefined) {
 		timer = setInterval('closeNotification()', 5000);