fix and cleanup custom theme settings

This commit is contained in:
Mario Vavti
2017-03-26 13:15:15 +02:00
parent d169ee658e
commit 98c6548d64
6 changed files with 20 additions and 180 deletions

View File

@@ -369,10 +369,10 @@ function NavUpdate() {
updateCountsOnly = false;
if(data.network || data.home || data.intros || data.mail || data.all_events || data.notify) {
$('#notifications-btn').removeClass('text-muted').addClass('text-white');
$('#notifications-btn').css('opacity', 1);
}
else {
$('#notifications-btn').removeClass('text-white').addClass('text-muted');
$('#notifications-btn').css('opacity', 0.5);
$('#navbar-collapse-1').removeClass('in');
}