Bugfix. Better check to see if spinner is already active
This commit is contained in:
parent
d83f64bcc9
commit
9ecb3e227f
|
@ -182,7 +182,7 @@
|
|||
},
|
||||
|
||||
addSpinner: function () {
|
||||
if (!this.$content.first().hasClass('spinner')) {
|
||||
if (_.isNull(this.el.querySelector('.spinner'))) {
|
||||
this.$content.prepend('<span class="spinner"/>');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user