This commit is contained in:
Julian Lam
2016-10-22 15:14:05 -04:00
parent da72f6081b
commit dd8759b0e9

View File

@@ -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);
});
});
});