From b0a9ce799013b322f7480b75e98f7dcd038d530e Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Mon, 11 Mar 2013 21:54:37 +0100 Subject: Correction bug notification --- public/scripts/notification.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public/scripts') diff --git a/public/scripts/notification.js b/public/scripts/notification.js index a3a874c12..e4f9fb649 100644 --- a/public/scripts/notification.js +++ b/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); -- cgit v1.2.3