From ed51294ee53cc09d13ad5e01fa0e68e11b778248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Fri, 27 Sep 2019 13:25:18 +0200 Subject: [PATCH] Remove scrollbehaviour --- .../ext/ep_theme/Resources/Private/Assets/js/router/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/router/index.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/router/index.js index 64777b52..b8384dda 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/router/index.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/router/index.js @@ -85,8 +85,5 @@ export default new VueRouter({ path: '*', redirect: { name: 'login' } } - ], - scrollBehavior (to, from, savedPosition) { - return { selector: '#myep-main', offset: { x: 0, y: 160 } } - } + ] });