do not show seen notifys in notifications - show them in mod notifications instead. Update notifications count also on notifications updates

This commit is contained in:
Mario Vavti
2017-10-22 21:01:58 +02:00
parent c80f4feb62
commit 0061ac8584
4 changed files with 47 additions and 37 deletions

View File

@@ -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);