Oskar Manhart
2023-09-11 4e23e6724493a8d112c6ff22e14cf4aabd5e9af1
quartz/components/scripts/spa.inline.ts
@@ -64,7 +64,7 @@
  // scroll into place and add history
  if (!isBack) {
    if (url.hash) {
      const el = document.getElementById(url.hash.substring(1))
      const el = document.getElementById(decodeURIComponent(url.hash.substring(1)))
      el?.scrollIntoView()
    } else {
      window.scrollTo({ top: 0 })