mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-15 22:13:31 -06:00
Fixed: navigation scroll to active link regression (#1367)
* Defer removal of href The `href` with the URL of the current page is inspected by `navLink()`, so it should not be removed until after the calls of `navLink()` in `scrollNav()` and `activateNav()`. As `scrollNav()` follows `activateNav()`, the removal of `href` needs to be left to `scrollNav()`. * Update CHANGELOG.md
This commit is contained in:
@@ -26,6 +26,7 @@ Code changes to `main` that are *not* in the latest release:
|
||||
- Fixed: remove href from the navigation link to the current page by [@pdmosses] in [#1356]
|
||||
- Fixed: improve build time by [@pdmosses] in [#1358]
|
||||
- Fixed: erroneous parentheses in `site_nav` conditional by [@mattxwang] in [#1366]
|
||||
- Fixed: navigation scroll to active link regression by [@pdmosses] in [#1367]
|
||||
|
||||
{: .warning }
|
||||
[#1358] moved `_includes/nav.html` to the `_includes/components` directory,
|
||||
@@ -41,6 +42,7 @@ Users who were overriding that file will need to adjust their sites accordingly.
|
||||
[#1358]: https://github.com/just-the-docs/just-the-docs/pull/1358
|
||||
[#1360]: https://github.com/just-the-docs/just-the-docs/pull/1360
|
||||
[#1366]: https://github.com/just-the-docs/just-the-docs/pull/1366
|
||||
[#1367]: https://github.com/just-the-docs/just-the-docs/pull/1367
|
||||
|
||||
## Release v0.6.2
|
||||
|
||||
|
Reference in New Issue
Block a user