Skip to content

Node.js based forum software built for the modern web

remove header selector

Barış Soner Uşaklı3e4a4d7d55d4
diff --git a/public/src/client/footer.js b/public/src/client/footer.js
index 8c20ead59b..8f8e72ba1d 100644
--- a/public/src/client/footer.js
+++ b/public/src/client/footer.js
@@ -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);
}