We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f17cf commit 72c0d63Copy full SHA for 72c0d63
1 file changed
src/core/render/index.js
@@ -314,7 +314,9 @@ export function Render(Base) {
314
315
sidebarToggleEl.setAttribute('aria-expanded', String(!isMobile()));
316
317
- const activeElmHref = this.router.toURL(this.route.path);
+ const activeElmHref = decodeURIComponent(
318
+ this.router.toURL(this.route.path),
319
+ );
320
const activeEl = /** @type {HTMLElement | null} */ (
321
dom.find(`.sidebar-nav a[href="${activeElmHref}"]`)
322
);
0 commit comments