Remove obsolete scrolls
This commit is contained in:
@@ -57,7 +57,6 @@ export default Component.extend({
|
|||||||
this.save(attributes)
|
this.save(attributes)
|
||||||
.then((/*contribution*/) => {
|
.then((/*contribution*/) => {
|
||||||
this.reset();
|
this.reset();
|
||||||
window.scroll(0,0);
|
|
||||||
}, err => {
|
}, err => {
|
||||||
console.warn(err);
|
console.warn(err);
|
||||||
window.alert('Something went wrong. Check the browser console for details.');
|
window.alert('Something went wrong. Check the browser console for details.');
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ export default Component.extend({
|
|||||||
|
|
||||||
this.save(contributor).then(() => {
|
this.save(contributor).then(() => {
|
||||||
this.reset();
|
this.reset();
|
||||||
window.scroll(0,0);
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.warn(err);
|
console.warn(err);
|
||||||
window.alert('Something went wrong. Please check the browser console.');
|
window.alert('Something went wrong. Please check the browser console.');
|
||||||
|
|||||||
Reference in New Issue
Block a user