mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
Merge pull request #5770 from cobbspur/bugs
Prevent gh-spin-button from infinite spin
This commit is contained in:
commit
51102aabaf
@ -31,8 +31,8 @@ export default Ember.Component.extend({
|
||||
this.set('showSpinnerTimeout', Ember.run.later(this, function () {
|
||||
if (!this.get('submitting')) {
|
||||
this.set('showSpinner', false);
|
||||
this.set('showSpinnerTimeout', null);
|
||||
}
|
||||
this.set('showSpinnerTimeout', null);
|
||||
}, 1000));
|
||||
} else if (!submitting && timeout === null) {
|
||||
this.set('showSpinner', false);
|
||||
|
Loading…
Reference in New Issue
Block a user