diff --git a/app/router.scrollBehavior.js b/app/router.scrollBehavior.js index 602e116c..b85f8f87 100644 --- a/app/router.scrollBehavior.js +++ b/app/router.scrollBehavior.js @@ -1,10 +1,6 @@ /** * https://nuxtjs.org/docs/configuration-glossary/configuration-router/#scrollbehavior - * always scrollToTop but on index page */ export default function (to, _from, savedPosition) { - if (to.name === 'index') { - return savedPosition - } return { x: 0, y: 0 } }