From 37fa92e868104c323eb26b6c936c63eb2479ca1f Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 30 Jan 2015 12:13:44 +1030 Subject: [PATCH] Stop loading spinner from appearing at the top --- .../ember/app/components/ui/controls/loading-indicator.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/core/ember/app/components/ui/controls/loading-indicator.js b/framework/core/ember/app/components/ui/controls/loading-indicator.js index e908f30f0..b1c2b3313 100644 --- a/framework/core/ember/app/components/ui/controls/loading-indicator.js +++ b/framework/core/ember/app/components/ui/controls/loading-indicator.js @@ -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); } });