mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
Resolve #3599
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user