From 637844f264f4a98e175e8bcfa1fce0cc20da2c8c Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 27 Oct 2022 00:01:36 +0200 Subject: [PATCH] [ticket/13291] Close notifications dropdown during mark all read PHPBB3-13291 --- phpBB/styles/prosilver/template/ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index db2a5732f7..79187470d8 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -101,6 +101,7 @@ phpbb.addAjaxCallback('mark_topics_read', function(res, updateTopicLinks) { phpbb.addAjaxCallback('notification.mark_all_read', function(res) { if (typeof res.success !== 'undefined') { phpbb.markNotifications($('#notification_list li.bg2'), 0); + phpbb.toggleDropdown.call($('#notification_list_button')); phpbb.closeDarkenWrapper(3000); } });