unread forum notifications - wip/unfinished

This commit is contained in:
Mario Vavti
2018-06-01 23:22:52 +02:00
parent 22a9e4c9a9
commit 53efd4e470
4 changed files with 77 additions and 3 deletions

View File

@@ -451,7 +451,7 @@ function notificationsUpdate(cached_data) {
}
function handleNotifications(data) {
if(data.network || data.home || data.intros || data.register || data.mail || data.all_events || data.notify || data.files || data.pubs) {
if(data.network || data.home || data.intros || data.register || data.mail || data.all_events || data.notify || data.files || data.pubs || data.forums) {
$('.notifications-btn').css('opacity', 1);
$('#no_notifications').hide();
}