aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-03 07:29:37 +0000
committerMario <mario@mariovavti.com>2020-11-03 07:29:37 +0000
commitfe3f42ce1098e8c8fb4adda071e5005121fc198f (patch)
tree1a4f3cb6a3dd0ce98ab7ea1ee88dc9cbd5db1a4f /view/js
parent8f1a5795975430ee3b120d139c39c541763171df (diff)
downloadvolse-hubzilla-fe3f42ce1098e8c8fb4adda071e5005121fc198f.tar.gz
volse-hubzilla-fe3f42ce1098e8c8fb4adda071e5005121fc198f.tar.bz2
volse-hubzilla-fe3f42ce1098e8c8fb4adda071e5005121fc198f.zip
call sse_setNotificationsStatus() after fading out buttons
Diffstat (limited to 'view/js')
-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 fb7bcb52f..8ceb0b143 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1868,7 +1868,9 @@ function sse_handleNotifications(obj, replace, followup) {
}
else {
$('.' + type + '-update').html('0');
- $('.' + type + '-button').fadeOut();
+ $('.' + type + '-button').fadeOut(function() {
+ sse_setNotificationsStatus();
+ });
}
if(obj[type].notifications.length)
sse_handleNotificationsItems(type, obj[type].notifications, replace, followup);