aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications_widget.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r--view/tpl/notifications_widget.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index 15b29490b..9ea5ffec6 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -31,9 +31,8 @@
});
$(document).on('click', '.notification', function() {
- $('#notifications_wrapper').addClass('d-none');
if($('#notifications_wrapper').hasClass('fs')) {
- $('#notifications_wrapper').prependTo('#' + notifications_parent).removeClass('fs');
+ $('#notifications_wrapper').prependTo('#' + notifications_parent).removeClass('fs').addClass('d-none');
}
});