diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-04 13:37:17 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-04 13:37:17 +0200 |
commit | 295ed07d40ea330ef438d9cad8fe3af8fd265507 (patch) | |
tree | 0eadabe5ed19e68e2c570cb0fbbb7ba9a20e9863 /view/js/main.js | |
parent | fa93114804801bceabea06570e8eee602167600a (diff) | |
download | volse-hubzilla-295ed07d40ea330ef438d9cad8fe3af8fd265507.tar.gz volse-hubzilla-295ed07d40ea330ef438d9cad8fe3af8fd265507.tar.bz2 volse-hubzilla-295ed07d40ea330ef438d9cad8fe3af8fd265507.zip |
bring back notifications for account approvals
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index 73b2f3616..dc40db360 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -444,7 +444,7 @@ function NavUpdate() { updateCountsOnly = false; - if(data.network || data.home || data.intros || 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) { $('#notifications-btn').css('opacity', 1); } else { @@ -490,7 +490,7 @@ function NavUpdate() { if(data.notify == 0) { data.notify = ''; $('.notify-update, .notify-button').hide(); } else { $('.notify-update, .notify-button').show(); } $('.notify-update').html(data.notify); - if(data.register == 0) { data.register = ''; $('.register-update').removeClass('show'); } else { $('.register-update').addClass('show'); } + if(data.register == 0) { data.register = ''; $('.register-update, .register-button').hide(); } else { $('.register-update, .register-button').show(); } $('.register-update').html(data.register); if(data.events == 0) { data.events = ''; $('.events-update, .events-button').hide(); } else { $('.events-update, .events-button').show(); } |