From 600e8081a82f088ff513664379a1557ae5078193 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 5 Oct 2023 09:29:53 +0000 Subject: fix regression --- view/tpl/notifications_widget.tpl | 3 +-- 1 file changed, 1 insertion(+), 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'); } }); -- cgit v1.2.3