This commit is contained in:
Mega
2015-09-13 11:38:32 +03:00
parent 183528f4c9
commit b383c17df2

View File

@@ -19,7 +19,7 @@ define('forum/account/header', function() {
$('.account-sub-links li').removeClass('active').each(function() {
var href = $(this).find('a').attr('href');
if (href === window.location.pathname) {
if (decodeURIComponent(href) === decodeURIComponent(window.location.pathname)) {
$(this).addClass('active');
return false;
}