[ticket/14855] Remove notification bubble on mark all read

PHPBB3-14855
This commit is contained in:
Matt Friedman 2016-11-06 10:00:50 -08:00
parent af2bf4ef36
commit 0e114f91f4

View file

@ -134,7 +134,7 @@ phpbb.markNotifications = function($popup, unreadCount) {
$('strong', '#notification_list_button').html(unreadCount);
// Remove the Mark all read link if there are no unread notifications.
if (!unreadCount) {
$('#mark_all_notifications').remove();
$('#mark_all_notifications, #notification_list_button > strong').remove();
}
// Update page title