aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ajax.js
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2016-12-11 20:16:25 +0100
committerTristan Darricau <github@nicofuma.fr>2016-12-11 20:16:25 +0100
commit0cf85c047e848a75df236c4617b449498627dccc (patch)
tree03fd4b002033970e5bf4d2d36be440d042df69a3 /phpBB/styles/prosilver/template/ajax.js
parent27df2278ef7fbc3ce28d6926b1a57f2fd232e2db (diff)
parente40afd8cd160a5b13cba08fa1725c50a27d0f022 (diff)
downloadforums-0cf85c047e848a75df236c4617b449498627dccc.tar
forums-0cf85c047e848a75df236c4617b449498627dccc.tar.gz
forums-0cf85c047e848a75df236c4617b449498627dccc.tar.bz2
forums-0cf85c047e848a75df236c4617b449498627dccc.tar.xz
forums-0cf85c047e848a75df236c4617b449498627dccc.zip
Merge branch '3.1.x' into 3.2.x
* 3.1.x: [ticket/14855] Update notification and PM alert bubbles [ticket/14855] Update notification and PM alert bubbles [ticket/14855] Update notification and PM alert bubbles
Diffstat (limited to 'phpBB/styles/prosilver/template/ajax.js')
-rw-r--r--phpBB/styles/prosilver/template/ajax.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index 3888d26785..1bb3aabb9b 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/phpBB/styles/prosilver/template/ajax.js
@@ -132,9 +132,10 @@ phpbb.markNotifications = function($popup, unreadCount) {
// Update the unread count.
$('strong', '#notification_list_button').html(unreadCount);
- // Remove the Mark all read link & notification count if there are no unread notifications.
+ // Remove the Mark all read link and hide notification count if there are no unread notifications.
if (!unreadCount) {
- $('#mark_all_notifications, #notification_list_button > strong').remove();
+ $('#mark_all_notifications').remove();
+ $('#notification_list_button > strong').addClass('hidden');
}
// Update page title