aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 0e143bc99..29f7ed7ca 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -535,6 +535,8 @@ function closeMenu(theID) {
function markRead(notifType) {
$.get('ping?f=&markRead='+notifType);
$('.' + notifType + '-button').fadeOut(function() {
+ $("." + notifType + "-update").html('0');
+ $('#nav-' + notifType + '-menu').html('');
$('#nav-' + notifType + '-sub').removeClass('show');
sessionStorage.removeItem('notification_open');
sse_setNotificationsStatus();