Node.js based forum software built for the modern web
closes https://github.com/NodeBB/nodebb-theme-vanilla/issues/21 and https://github.com/NodeBB/nodebb-theme-persona/issues/31
psychobunnyf734d47befbe
diff --git a/public/src/client/account/header.js b/public/src/client/account/header.jsindex 6dcc0b27e4..92cc40a416 100644--- a/public/src/client/account/header.js+++ b/public/src/client/account/header.js@@ -20,7 +20,8 @@ define('forum/account/header', function() {function selectActivePill() {$('.account-sub-links li').removeClass('active').each(function() {var href = $(this).find('a').attr('href');- if (window.location.href.indexOf(href) !== -1) {++ if (href === window.location.pathname) {$(this).addClass('active');return false;}