hide nav search behind a button, css fixes and cleanup

This commit is contained in:
Mario Vavti
2017-03-14 18:31:19 +01:00
parent 7b9df1d401
commit a0a376e95e
11 changed files with 47 additions and 115 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').css('color', 'white').prop('disabled', false);
$('#notifications-btn').removeClass('text-muted').addClass('text-white');
}
else {
$('#notifications-btn').css('color', 'grey').prop('disabled', true);
$('#notifications-btn').removeClass('text-white').addClass('text-muted');
$('#navbar-collapse-1').removeClass('in');
}