diff --git a/src/plugins/page-scroll.js b/src/plugins/page-scroll.js index be4b1e9..2a0e8b6 100644 --- a/src/plugins/page-scroll.js +++ b/src/plugins/page-scroll.js @@ -2,19 +2,6 @@ import { defineNuxtPlugin } from "#app" -// export default defineNuxtPlugin((nuxtApp) => { -// nuxtApp.$router.options.scrollBehavior = (to, from, savedPosition) => { -// return new Promise((resolve) => { -// setTimeout(() => { -// resolve({ -// left: savedPosition?.left || 0, -// top: savedPosition?.top || 0, -// }) -// }, 0) -// }) -// } -// }) - export default defineNuxtPlugin((nuxtApp) => { nuxtApp.hook("page:start", async () => { // `page:finish` does not return savedPosition window.scrollTo({ diff --git a/src/secrets/secret.dev.js.gpg b/src/secrets/secret.dev.js.gpg index 970ae76..7725fe9 100644 Binary files a/src/secrets/secret.dev.js.gpg and b/src/secrets/secret.dev.js.gpg differ diff --git a/src/secrets/secret.prd.js.gpg b/src/secrets/secret.prd.js.gpg index dda5920..e6d07dd 100644 Binary files a/src/secrets/secret.prd.js.gpg and b/src/secrets/secret.prd.js.gpg differ