diff options
author | Mario <mario@mariovavti.com> | 2020-11-03 07:29:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-03 07:29:37 +0000 |
commit | fe3f42ce1098e8c8fb4adda071e5005121fc198f (patch) | |
tree | 1a4f3cb6a3dd0ce98ab7ea1ee88dc9cbd5db1a4f /view/js/main.js | |
parent | 8f1a5795975430ee3b120d139c39c541763171df (diff) | |
download | volse-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/main.js')
-rw-r--r-- | view/js/main.js | 4 |
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); |