Skip to content

Node.js based forum software built for the modern web

fixing double notif error on new notif

Julian Lameed66c099bb1
diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js
index 439bbdca50..6eca0edbdf 100644
--- a/public/src/forum/footer.js
+++ b/public/src/forum/footer.js
@@ -147,6 +147,7 @@
socket.on('event:new_notification', function() {
document.querySelector('.notifications a i').className = 'icon-circle active';
app.alert({
+ alert_id: 'new_notif',
title: 'New notification',
message: 'You have unread notifications.',
type: 'notify',