update loading icon
This commit is contained in:
parent
77319eb44f
commit
dba5f268ea
1 changed files with 5 additions and 4 deletions
|
@ -63,12 +63,13 @@ Ox.LoadingIcon = function(options, self) {
|
|||
() -> <f> Loading Icon Element
|
||||
@*/
|
||||
that.stop = function(callback) {
|
||||
var loadingInterval = self.loadingInterval;
|
||||
if (self.loadingInterval) {
|
||||
self.loadingInterval = void 0;
|
||||
if (self.loadingInterval && !self.stopping) {
|
||||
self.stopping = true;
|
||||
that.stopAnimation().animate({opacity: 0}, 250, function() {
|
||||
var css = 'rotate(0deg)';
|
||||
clearInterval(loadingInterval);
|
||||
clearInterval(self.loadingInterval);
|
||||
self.loadingInterval = null;
|
||||
self.stopping = false;
|
||||
that.css({
|
||||
MozTransform: css,
|
||||
MsTransform: css,
|
||||
|
|
Loading…
Reference in a new issue