From 4c4cc20407d9bd2b1e55daa38dee2d243f7f50c2 Mon Sep 17 00:00:00 2001 From: Felix Ruf Date: Tue, 10 Oct 2023 15:56:17 +0200 Subject: [PATCH] updated the submit to scroll to the top of the page --- src/Resources/src/views/Menu.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/src/views/Menu.vue b/src/Resources/src/views/Menu.vue index ac914e9a2..0303a9aa0 100644 --- a/src/Resources/src/views/Menu.vue +++ b/src/Resources/src/views/Menu.vue @@ -132,6 +132,7 @@ async function handleSubmit() { await setUpDaysAndEnabled(); } } + window.scrollTo({ top: 0, behavior: 'smooth' }); } async function setUpDaysAndEnabled() {