Skip to content

Commit

Permalink
Merge pull request #769 from ivpn/bugfix/scroll-on-payment
Browse files Browse the repository at this point in the history
Bugfix/scroll on payment
  • Loading branch information
nathanrod authored Apr 24, 2024
2 parents 90699c3 + 04623b5 commit c34f46e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/themes/ivpn-v3/assets/js/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
})

Expand Down

0 comments on commit c34f46e

Please sign in to comment.