mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14855] Update the comments
PHPBB3-14855
This commit is contained in:
parent
0e114f91f4
commit
9b1e2e523c
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ phpbb.markNotifications = function($popup, unreadCount) {
|
|||
|
||||
// Update the unread count.
|
||||
$('strong', '#notification_list_button').html(unreadCount);
|
||||
// Remove the Mark all read link if there are no unread notifications.
|
||||
// Remove the Mark all read link & notification count if there are no unread notifications.
|
||||
if (!unreadCount) {
|
||||
$('#mark_all_notifications, #notification_list_button > strong').remove();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue