aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ajax.js
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2016-12-11 20:11:17 +0100
committerTristan Darricau <github@nicofuma.fr>2016-12-11 20:11:17 +0100
commite40afd8cd160a5b13cba08fa1725c50a27d0f022 (patch)
tree556fd6f46e1b220cf21039c858c898460462c7e4 /phpBB/styles/prosilver/template/ajax.js
parentad3b7830b4efe732653bbb5dcef723055a591569 (diff)
parentdaae2147c867335f8af0c64b78b4c9f674eb0d27 (diff)
downloadforums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar.gz
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar.bz2
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar.xz
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.zip
Merge pull request #4572 from javiexin/ticket/14855
[ticket/14855] Update notification and PM alert bubbles * javiexin/ticket/14855: [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 311da92a95..ec9b53328f 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