remove header selector

This commit is contained in:
Barış Soner Uşaklı
2017-08-02 19:53:17 -04:00
parent d32f5459b7
commit 3e4a4d7d55

View File

@@ -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);
}