mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
Merge branch '3.1.x' into 3.2.x
This commit is contained in:
@@ -132,9 +132,9 @@ 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').remove();
|
||||
$('#mark_all_notifications, #notification_list_button > strong').remove();
|
||||
}
|
||||
|
||||
// Update page title
|
||||
|
Reference in New Issue
Block a user