diff options
author | javiexin <javiexin@gmail.com> | 2017-02-10 14:41:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 14:41:42 +0100 |
commit | fc50fd272b9685221e130114b2365b23bd543048 (patch) | |
tree | 94e95ddbc792d66ecd508f8db7293f76801f6caf /phpBB/styles/prosilver/template/ajax.js | |
parent | 09f6637597fff1dcdfc6117067c1f758fa23f60d (diff) | |
parent | 1470985ff20197589cbbab96180d80b0148d20d5 (diff) | |
download | forums-fc50fd272b9685221e130114b2365b23bd543048.tar forums-fc50fd272b9685221e130114b2365b23bd543048.tar.gz forums-fc50fd272b9685221e130114b2365b23bd543048.tar.bz2 forums-fc50fd272b9685221e130114b2365b23bd543048.tar.xz forums-fc50fd272b9685221e130114b2365b23bd543048.zip |
Merge branch '3.1.x' into ticket/15081
Diffstat (limited to 'phpBB/styles/prosilver/template/ajax.js')
-rw-r--r-- | phpBB/styles/prosilver/template/ajax.js | 5 |
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 |