mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/14855] Remove notification bubble on mark all read
PHPBB3-14855
This commit is contained in:
@@ -134,7 +134,7 @@ phpbb.markNotifications = function($popup, unreadCount) {
|
|||||||
$('strong', '#notification_list_button').html(unreadCount);
|
$('strong', '#notification_list_button').html(unreadCount);
|
||||||
// Remove the Mark all read link if there are no unread notifications.
|
// Remove the Mark all read link if there are no unread notifications.
|
||||||
if (!unreadCount) {
|
if (!unreadCount) {
|
||||||
$('#mark_all_notifications').remove();
|
$('#mark_all_notifications, #notification_list_button > strong').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update page title
|
// Update page title
|
||||||
|
Reference in New Issue
Block a user