Commit 9ecb3e22 authored by JC Brand's avatar JC Brand

Bugfix. Better check to see if spinner is already active

parent d83f64bc
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
}, },
addSpinner: function () { addSpinner: function () {
if (!this.$content.first().hasClass('spinner')) { if (_.isNull(this.el.querySelector('.spinner'))) {
this.$content.prepend('<span class="spinner"/>'); this.$content.prepend('<span class="spinner"/>');
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment