Skip to content

Commit

Permalink
updated the submit to scroll to the top of the page
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Ruf committed Oct 10, 2023
1 parent f45acc4 commit 4c4cc20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/src/views/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ async function handleSubmit() {
await setUpDaysAndEnabled();
}
}
window.scrollTo({ top: 0, behavior: 'smooth' });
}
async function setUpDaysAndEnabled() {
Expand Down

0 comments on commit 4c4cc20

Please sign in to comment.