From e84a1cbc4e400f25d4e247f2a033bb5d148a35d8 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 28 May 2019 16:31:56 +0200 Subject: [PATCH] Remove obsolete scrolls --- app/components/add-contribution/component.js | 1 - app/components/add-contributor/component.js | 1 - 2 files changed, 2 deletions(-) diff --git a/app/components/add-contribution/component.js b/app/components/add-contribution/component.js index 0c73016..4b16e65 100644 --- a/app/components/add-contribution/component.js +++ b/app/components/add-contribution/component.js @@ -57,7 +57,6 @@ export default Component.extend({ this.save(attributes) .then((/*contribution*/) => { this.reset(); - window.scroll(0,0); }, err => { console.warn(err); window.alert('Something went wrong. Check the browser console for details.'); diff --git a/app/components/add-contributor/component.js b/app/components/add-contributor/component.js index 954ca99..ac9cb57 100644 --- a/app/components/add-contributor/component.js +++ b/app/components/add-contributor/component.js @@ -60,7 +60,6 @@ export default Component.extend({ this.save(contributor).then(() => { this.reset(); - window.scroll(0,0); }).catch(err => { console.warn(err); window.alert('Something went wrong. Please check the browser console.');