mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01: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