aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 9dcd8092e..de79074f7 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -536,10 +536,8 @@ function markRead(notifType) {
$.get('ping?f=&markRead='+notifType);
$('.' + notifType + '-button').hide();
$('#nav-' + notifType + '-sub').removeClass('show');
- sessionStorage.removeItem(notifType + '_notifications_cache');
sessionStorage.removeItem('notification_open');
- if(timer) clearTimeout(timer);
- timer = setTimeout(updateInit,2000);
+ sse_setNotificationsStatus();
}
function markItemRead(itemId) {