diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-25 14:40:31 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-25 14:40:31 -0700 |
commit | e5e0a6b31f7870a46766c1e8ff87886fdb14b6de (patch) | |
tree | 7035d84f2edbc6b6efa435527ffdc3cd38b8027a /view/js/main.js | |
parent | 5c63f7dd58c5b3b88efcc47120c791f92527f720 (diff) | |
parent | 2115eb26a7fd2ca937286bd4e98ab74c7d6e9525 (diff) | |
download | volse-hubzilla-e5e0a6b31f7870a46766c1e8ff87886fdb14b6de.tar.gz volse-hubzilla-e5e0a6b31f7870a46766c1e8ff87886fdb14b6de.tar.bz2 volse-hubzilla-e5e0a6b31f7870a46766c1e8ff87886fdb14b6de.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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index db7ad110b..150f517a9 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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'); } @@ -939,6 +939,8 @@ function notify_popup_loader(notifyType) { window.location.href=window.location.href; } + console.log(data); + if(data.notify.length == 0){ $("#nav-" + notifyType + "-menu").html(aStr[nothingnew]); } else { |