mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-07 15:20:04 +01:00
closes #5656
This commit is contained in:
@@ -7,7 +7,7 @@ define('forum/footer', ['notifications', 'chat', 'components', 'translator'], fu
|
||||
translator.prepareDOM();
|
||||
|
||||
function updateUnreadTopicCount(url, count) {
|
||||
$('#main-nav a[href="' + config.relative_path + url + '"] i')
|
||||
$('a[href="' + config.relative_path + url + '"] i')
|
||||
.toggleClass('unread-count', count > 0)
|
||||
.attr('data-content', count > 99 ? '99+' : count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user