Merge pull request #5770 from cobbspur/bugs

Prevent gh-spin-button from infinite spin
This commit is contained in:
Kevin Ansfield 2015-09-01 09:58:44 +01:00
commit 51102aabaf

View File

@ -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);