mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-07 15:20:04 +01:00
add missing radix
This commit is contained in:
@@ -42,7 +42,7 @@ define('forum/footer', ['notifications', 'chat', 'components', 'translator'], fu
|
||||
var unreadTopicCount = parseInt($('a[href="' + config.relative_path + '/unread"].navigation-link i').attr('data-content'), 10) + 1;
|
||||
updateUnreadTopicCount('/unread', unreadTopicCount);
|
||||
|
||||
var isNewTopic = post.isMain && parseInt(post.uid, 10) !== parseInt(app.user.uid);
|
||||
var isNewTopic = post.isMain && parseInt(post.uid, 10) !== parseInt(app.user.uid, 10);
|
||||
if (isNewTopic) {
|
||||
var unreadNewTopicCount = parseInt($('a[href="' + config.relative_path + '/unread/new"].navigation-link i').attr('data-content'), 10) + 1;
|
||||
updateUnreadTopicCount('/unread/new', unreadNewTopicCount);
|
||||
|
||||
Reference in New Issue
Block a user