Skip to content

Node.js based forum software built for the modern web

Resolve #3599

Megab383c17df296
diff --git a/public/src/client/account/header.js b/public/src/client/account/header.js
index 511f3be5a9..226f6ac3de 100644
--- a/public/src/client/account/header.js
+++ b/public/src/client/account/header.js
@@ -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;
}