diff --git a/package.json b/package.json index bf60f84..7cf0afc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "thatconference.com", - "version": "5.1.1", + "version": "5.1.2", "description": "THATConference.com website", "main": "index.js", "type": "module", diff --git a/src/routes/(admin my)/my/profiles/emergency-contact/emergencyContactForm.svelte b/src/routes/(admin my)/my/profiles/emergency-contact/emergencyContactForm.svelte index 58b7e13..2624b03 100644 --- a/src/routes/(admin my)/my/profiles/emergency-contact/emergencyContactForm.svelte +++ b/src/routes/(admin my)/my/profiles/emergency-contact/emergencyContactForm.svelte @@ -26,6 +26,7 @@ if (form.valid) { va.track('form:emergency-contact:submitted'); } + window.scrollTo(0, 0); } }); diff --git a/src/routes/(admin my)/my/profiles/public/PublicProfileForm.svelte b/src/routes/(admin my)/my/profiles/public/PublicProfileForm.svelte index b039a7d..46eeb4f 100644 --- a/src/routes/(admin my)/my/profiles/public/PublicProfileForm.svelte +++ b/src/routes/(admin my)/my/profiles/public/PublicProfileForm.svelte @@ -36,6 +36,7 @@ invalidateAll(); va.track('form:public-profile:submitted'); } + window.scrollTo(0, 0); } }); diff --git a/src/routes/(admin my)/my/profiles/shared/sharedProfileForm.svelte b/src/routes/(admin my)/my/profiles/shared/sharedProfileForm.svelte index 95420c7..3c544f6 100644 --- a/src/routes/(admin my)/my/profiles/shared/sharedProfileForm.svelte +++ b/src/routes/(admin my)/my/profiles/shared/sharedProfileForm.svelte @@ -28,6 +28,7 @@ invalidateAll(); va.track('form:public-profile:submitted'); } + window.scrollTo(0, 0); } });