1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-02 12:34:59 +02:00

[ticket/13291] Close notifications dropdown during mark all read

PHPBB3-13291
This commit is contained in:
Marc Alexander 2022-10-27 00:01:36 +02:00
parent c410829a42
commit 637844f264
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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);
}
});