From 3e4a4d7d55d4552e59166b767d69805cf8651780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 2 Aug 2017 19:53:17 -0400 Subject: [PATCH] remove header selector --- public/src/client/footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }