mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
@@ -378,7 +378,7 @@ export function setupInstantNavigation(
|
|||||||
|
|
||||||
// Handle instant navigation events that are triggered by the user clicking
|
// Handle instant navigation events that are triggered by the user clicking
|
||||||
// on an anchor link with the same hash fragment as the current one in the
|
// on an anchor link with the same hash fragment as the current one in the
|
||||||
// URL. Is is essential that we only intercept those from instant navigation
|
// URL. It is essential that we only intercept those from instant navigation
|
||||||
// events and not from history change events, or we'll end up in and endless
|
// events and not from history change events, or we'll end up in and endless
|
||||||
// loop. The top-level history entry must be removed, as it will be replaced
|
// loop. The top-level history entry must be removed, as it will be replaced
|
||||||
// with a new one, which would otherwise lead to a duplicate entry.
|
// with a new one, which would otherwise lead to a duplicate entry.
|
||||||
|
|||||||
Reference in New Issue
Block a user