mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-19 22:09:39 +02:00
remove header selector
This commit is contained in:
@@ -10,7 +10,7 @@ define('forum/footer', ['notifications', 'chat', 'components', 'translator'], fu
|
||||
if (!utils.isNumber(count)) {
|
||||
return;
|
||||
}
|
||||
$('#header-menu 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