mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-02 20:59:56 +01:00
fixes #5146
This commit is contained in:
@@ -13,6 +13,14 @@ define('forum/notifications', ['components', 'notifications', 'forum/infinitescr
|
||||
if (err) {
|
||||
return app.alertError(err);
|
||||
}
|
||||
|
||||
socket.emit('notifications.getCount', function (err, count) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
notifs.updateNotifCount(count);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user