aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-28 08:22:53 +0000
committerMario <mario@mariovavti.com>2019-11-28 08:22:53 +0000
commit2b08519f5ad2cf7803736b42159f92f754acb0bd (patch)
treed496894f37f05e0ef8d09b4c084a4e2cb75f7363 /view
parentfcb065bcb2f8e61d1d9e804f8f251967732ee037 (diff)
downloadvolse-hubzilla-2b08519f5ad2cf7803736b42159f92f754acb0bd.tar.gz
volse-hubzilla-2b08519f5ad2cf7803736b42159f92f754acb0bd.tar.bz2
volse-hubzilla-2b08519f5ad2cf7803736b42159f92f754acb0bd.zip
sse: improve caching fix an issue with removing notifications and move chatpresence expiration to cron
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index eac9bf6ef..a528658e1 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1774,7 +1774,9 @@ function sse_updateNotifications(type, mid, interactive) {
if(! interactive)
return true;
- $('#nav-' + type + '-menu .notification[data-b64mid=\'' + mid + '\']').fadeOut();
+ $('#nav-' + type + '-menu .notification[data-b64mid=\'' + mid + '\']').fadeOut(function() {
+ this.remove();
+ });
}