diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-08 14:51:16 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-08 14:51:16 -0800 |
commit | dfb75840b8b6fbe369f0b9097cd322832cc48108 (patch) | |
tree | 3b617ab21be0d98b035783d4871c1378821af86c /view/js/main.js | |
parent | 62f0266f467a03ce313edd8dc582c5c194cd5396 (diff) | |
parent | 0600817ef75d19d1ec91ba822f8a6938d442824e (diff) | |
download | volse-hubzilla-dfb75840b8b6fbe369f0b9097cd322832cc48108.tar.gz volse-hubzilla-dfb75840b8b6fbe369f0b9097cd322832cc48108.tar.bz2 volse-hubzilla-dfb75840b8b6fbe369f0b9097cd322832cc48108.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index 11a09b647..a228e6fbc 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -373,10 +373,12 @@ function notificationsUpdate() { 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); + $('#no_notifications').hide(); } else { $('.notifications-btn').css('opacity', 0.5); $('#navbar-collapse-1').removeClass('show'); + $('#no_notifications').show(); } if(data.home || data.intros || data.register || data.mail || data.notify || data.files) { |