diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-22 21:01:58 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2017-10-22 21:17:20 +0200 |
commit | d0bc81f8d2ff65833135e5d8e3485eb581a727a1 (patch) | |
tree | 403692b6c70a97f9649f2bdaac1dd61bf4214898 /view/js | |
parent | 0dc777bc459fd89f8015fd3ef0cc10d34d51ca96 (diff) | |
download | volse-hubzilla-d0bc81f8d2ff65833135e5d8e3485eb581a727a1.tar.gz volse-hubzilla-d0bc81f8d2ff65833135e5d8e3485eb581a727a1.tar.bz2 volse-hubzilla-d0bc81f8d2ff65833135e5d8e3485eb581a727a1.zip |
do not show seen notifys in notifications - show them in mod notifications instead. Update notifications count also on notifications updates
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index b4c2bcf5d..882f50e8a 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -946,6 +946,7 @@ function notify_popup_loader(notifyType) { $("#navbar-" + notifyType + "-menu").html(notifications_all + notifications_mark); $("#nav-" + notifyType + "-menu").html(notifications_all + notifications_mark); + $("." + notifyType + "-update").html(data.notify.length); $(data.notify).each(function() { html = navbar_notifications_tpl.format(this.notify_link,this.photo,this.name,this.message,this.when,this.hclass); |