1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 09:20:52 +01:00

Fixed linting

This commit is contained in:
squidfunk 2020-03-05 19:18:10 +01:00
parent 1fdc92ae29
commit 012cd24f06

View File

@ -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 })