minor changes
This commit is contained in:
parent
f2d7beeb22
commit
3acc606fa2
2 changed files with 23 additions and 25 deletions
|
@ -36,7 +36,6 @@ Ox.LoadingIcon = function(options, self) {
|
||||||
}, 250);
|
}, 250);
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
stop <f> Stop loading animation
|
stop <f> Stop loading animation
|
||||||
() -> <f> Loading Icon Element
|
() -> <f> Loading Icon Element
|
||||||
|
@ -44,10 +43,11 @@ Ox.LoadingIcon = function(options, self) {
|
||||||
that.stop = function() {
|
that.stop = function() {
|
||||||
that.animate({
|
that.animate({
|
||||||
opacity: 0
|
opacity: 0
|
||||||
}, 250)
|
}, 250. function() {
|
||||||
.attr({
|
.attr({
|
||||||
src: Ox.UI.getImageURL('symbolLoading')
|
src: Ox.UI.getImageURL('symbolLoading')
|
||||||
});
|
});
|
||||||
|
});
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
return that;
|
return that;
|
||||||
|
|
|
@ -42,9 +42,7 @@ Ox.ListItem = function(options, self) {
|
||||||
});
|
});
|
||||||
if (update) {
|
if (update) {
|
||||||
that.$element.hasClass('OxSelected') && $element.addClass('OxSelected');
|
that.$element.hasClass('OxSelected') && $element.addClass('OxSelected');
|
||||||
// that.$element.replaceWith($element);
|
|
||||||
}
|
}
|
||||||
// that.$element = $element;
|
|
||||||
that.setElement($element);
|
that.setElement($element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue