more new notifications fixes

This commit is contained in:
Mario Vavti
2017-10-09 13:35:58 +02:00
parent ec173e7eb2
commit 54a0690323
4 changed files with 26 additions and 30 deletions

View File

@@ -445,10 +445,10 @@ function NavUpdate() {
updateCountsOnly = false;
if(data.network || data.home || data.intros || data.register || data.mail || data.all_events || data.notify || data.files || data.pubs) {
$('#notifications-btn').css('opacity', 1);
$('#notifications-btn, #notifications-btn-1').css('opacity', 1);
}
else {
$('#notifications-btn').css('opacity', 0.5);
$('#notifications-btn, #notifications-btn-1').css('opacity', 0.5);
$('#navbar-collapse-1').removeClass('show');
}