Procházet zdrojové kódy

Correction bug notification

Marien Fressinaud před 13 roky
rodič
revize
b0a9ce7990
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      public/scripts/notification.js

+ 3 - 3
public/scripts/notification.js

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