From fe3f42ce1098e8c8fb4adda071e5005121fc198f Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 3 Nov 2020 07:29:37 +0000 Subject: call sse_setNotificationsStatus() after fading out buttons --- view/js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3