diff options
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index de79074f7..eac9bf6ef 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -534,10 +534,11 @@ function closeMenu(theID) { function markRead(notifType) { $.get('ping?f=&markRead='+notifType); - $('.' + notifType + '-button').hide(); - $('#nav-' + notifType + '-sub').removeClass('show'); - sessionStorage.removeItem('notification_open'); - sse_setNotificationsStatus(); + $('.' + notifType + '-button').fadeOut(function() { + $('#nav-' + notifType + '-sub').removeClass('show'); + sessionStorage.removeItem('notification_open'); + sse_setNotificationsStatus(); + }); } function markItemRead(itemId) { |