diff --git a/src/themes/ivpn-v3/assets/js/router/index.js b/src/themes/ivpn-v3/assets/js/router/index.js index db6acd98c..7f219839f 100644 --- a/src/themes/ivpn-v3/assets/js/router/index.js +++ b/src/themes/ivpn-v3/assets/js/router/index.js @@ -315,11 +315,7 @@ const router = createRouter({ routes, store, scrollBehavior(to, from, savedPosition) { - if (savedPosition) { - return savedPosition - } else { - return { x: 0, y: 0 } - } + return { top: 0 } } })