Skip to content

Node.js based forum software built for the modern web

closes #5656

Barış Soner Uşaklıf3deef4931a3
diff --git a/public/src/client/footer.js b/public/src/client/footer.js
index dc10e84d1f..25444f0912 100644
--- a/public/src/client/footer.js
+++ b/public/src/client/footer.js
@@ -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);
}