psychobunny 10 years ago
parent ca332d23c0
commit f734d47bef

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

Loading…
Cancel
Save