Skip to content

A free, self-hostable news aggregator…

Correction bug notification

Marien Fressinaudb0a9ce799013
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);