mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed linting
This commit is contained in:
parent
1fdc92ae29
commit
012cd24f06
@ -152,7 +152,7 @@ export function setupInstantLoading(
|
||||
|
||||
instant$.subscribe(({ url, offset }) => {
|
||||
if (url.hash && !offset) {
|
||||
console.log("set hash!")
|
||||
// console.log("set hash!")
|
||||
setLocationHash(url.hash) // must delay, if search is open!
|
||||
} else {
|
||||
setViewportOffset(offset || { y: 0 })
|
||||
|
Loading…
Reference in New Issue
Block a user