[ticket/14855] Update the comments

PHPBB3-14855
This commit is contained in:
Matt Friedman 2016-11-06 16:12:39 -08:00
parent 0e114f91f4
commit 9b1e2e523c

View file

@ -132,7 +132,7 @@ phpbb.markNotifications = function($popup, unreadCount) {
// Update the unread count. // Update the unread count.
$('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 & notification count if there are no unread notifications.
if (!unreadCount) { if (!unreadCount) {
$('#mark_all_notifications, #notification_list_button > strong').remove(); $('#mark_all_notifications, #notification_list_button > strong').remove();
} }