1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 14:51:19 +02:00

Stop loading spinner from appearing at the top

This commit is contained in:
Toby Zerner
2015-01-30 12:13:44 +10:30
parent 04937646fb
commit 37fa92e868

View File

@@ -7,6 +7,8 @@ export default Ember.Component.extend({
size: 'small',
didInsertElement: function() {
this.$().spin(this.get('size'));
var size = this.get('size');
Ember.$.fn.spin.presets[size].zIndex = 'auto';
this.$().spin(size);
}
});