Skip to content

Node.js based forum software built for the modern web

fix unread count increase

barisusakli7217fa749352
diff --git a/public/src/client/footer.js b/public/src/client/footer.js
index 288123c8e1..6c8f4c5711 100644
--- a/public/src/client/footer.js
+++ b/public/src/client/footer.js
@@ -36,7 +36,7 @@ define('forum/footer', ['notifications', 'chat', 'components', 'translator'], fu
function increaseUnreadCount() {
var count = parseInt($('#unread-count i').attr('data-content'), 10) + 1;
- updateUnreadTopicCount(null, count);
+ updateUnreadTopicCount(count);
}
function markTopicsUnread(tid) {