diff --git a/CHANGELOG.md b/CHANGELOG.md index 74fa91a..5247830 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,11 @@ This website is built from the `HEAD` of the `main` branch of the theme reposito Code changes to `main` that are *not* in the latest release: -- N/A +### Bugfixes + +- Fixed: remove href from the navigation link to the current page by [@pdmosses] in [#1356] + +[#1356]: https://github.com/just-the-docs/just-the-docs/pull/1356 ## Release v0.6.2 diff --git a/assets/js/just-the-docs.js b/assets/js/just-the-docs.js index fb924de..2847b79 100644 --- a/assets/js/just-the-docs.js +++ b/assets/js/just-the-docs.js @@ -501,6 +501,7 @@ function activateNav() { var target = navLink(); if (target) { target.classList.toggle('active', true); + target.removeAttribute('href'); } while (target) { while (target && !(target.classList && target.classList.contains('nav-list-item'))) {