Skip to content

Node.js based forum software built for the modern web

closes #4144

psychobunny46cfd0346572
diff --git a/public/src/client/footer.js b/public/src/client/footer.js
index 6c8f4c5711..d8e54d4fc3 100644
--- a/public/src/client/footer.js
+++ b/public/src/client/footer.js
@@ -10,13 +10,13 @@ define('forum/footer', ['notifications', 'chat', 'components', 'translator'], fu
function updateUnreadTopicCount(count) {
$('#unread-count i')
.toggleClass('unread-count', count > 0)
- .attr('data-content', count > 20 ? '20+' : count);
+ .attr('data-content', count > 99 ? '99+' : count);
}
function updateUnreadChatCount(count) {
components.get('chat/icon')
.toggleClass('unread-count', count > 0)
- .attr('data-content', count > 20 ? '20+' : count);
+ .attr('data-content', count > 99 ? '99+' : count);
}
function initUnreadTopics() {
diff --git a/public/src/modules/notifications.js b/public/src/modules/notifications.js
index de0fbca17c..a8f090028b 100644
--- a/public/src/modules/notifications.js
+++ b/public/src/modules/notifications.js
@@ -139,7 +139,7 @@ define('notifications', ['sounds', 'translator', 'components'], function(sound,
}
notifIcon.toggleClass('unread-count', count > 0);
- notifIcon.attr('data-content', count > 20 ? '20+' : count);
+ notifIcon.attr('data-content', count > 99 ? '99+' : count);
var payload = {
count: count,