Correction bug notification

This commit is contained in:
Marien Fressinaud committed 2013-03-11 21:54:37 +01:00
1 parent e405af1049
commit b0a9ce7990
1 file changed
+3 -3
+3 -3
View File
@@ -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);