diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-03 17:17:20 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-03 17:17:20 -0700 |
commit | 4adf2caaa687287cf82b930bb5a0c07d39c7afc0 (patch) | |
tree | 670ce1e8c82b813ce86b6c8815e66ea6ea3a5adb /view/js/main.js | |
parent | db82d303e217c2ca599a8b740ebb62339d373124 (diff) | |
parent | 0fac35686b28825da69c77f9a903e4e24a7036fa (diff) | |
download | volse-hubzilla-4adf2caaa687287cf82b930bb5a0c07d39c7afc0.tar.gz volse-hubzilla-4adf2caaa687287cf82b930bb5a0c07d39c7afc0.tar.bz2 volse-hubzilla-4adf2caaa687287cf82b930bb5a0c07d39c7afc0.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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index 41be3da59..531f999f9 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -281,7 +281,7 @@ function closeMenu(theID) { function markRead(notifType) { $.get('ping?f=&markRead='+notifType); if(timer) clearTimeout(timer); - $('#' + notifType + '-update').html(''); + $('.' + notifType + '-button').hide(); timer = setTimeout(NavUpdate,2000); } @@ -446,13 +446,13 @@ function NavUpdate() { if(data.network == 0) { data.network = ''; - $('.net-update, .net-button').hide(); + $('.network-update, .network-button').hide(); document.title = savedTitle; } else { - $('.net-update, .net-button').show(); + $('.network-update, .network-button').show(); document.title = '(' + data.network + ') ' + savedTitle; } - $('.net-update').html(data.network); + $('.network-update').html(data.network); if(data.pubs == 0) { data.pubs = ''; |