Skip to content

Commit

Permalink
fix: Removed scroll saved position
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanael Rodriguez Ramos authored and Natanael Rodriguez Ramos committed Apr 23, 2024
1 parent c289e28 commit 04623b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/ivpn-v3/assets/js/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ const router = createRouter({
routes,
store,
scrollBehavior(to, from, savedPosition) {
return { x: 0, y: 0 }
return { top: 0 }
}
})

Expand Down

0 comments on commit 04623b5

Please sign in to comment.