mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-23 17:10:53 +01:00
[ticket/14855] Update the comments
PHPBB3-14855
This commit is contained in:
parent
0e114f91f4
commit
9b1e2e523c
@ -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…
x
Reference in New Issue
Block a user