소스 검색

Correction bug notification

Marien Fressinaud 13 년 전
부모
커밋
b0a9ce7990
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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);