aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-23 20:41:20 +0000
committerMario <mario@mariovavti.com>2019-11-23 20:41:20 +0000
commitdecc14c3244cb55cdc79fac85c4c979b014f2b75 (patch)
tree984efc43c6ac821c72f94b84b38110ce7b79e838 /view/js
parent1134be8d30011098719d5f47b25714657c4b1cc8 (diff)
downloadvolse-hubzilla-decc14c3244cb55cdc79fac85c4c979b014f2b75.tar.gz
volse-hubzilla-decc14c3244cb55cdc79fac85c4c979b014f2b75.tar.bz2
volse-hubzilla-decc14c3244cb55cdc79fac85c4c979b014f2b75.zip
sse: more cleanup
Diffstat (limited to 'view/js')
-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) {