1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:18:11 +02:00
commit e2a42ab04e
12 changed files with 47 additions and 47 deletions

View file

@ -493,7 +493,7 @@ Ox.List = function(options, self) {
if (self.$pages[0]) {
if (self.options.type == 'text') {
self.$pages[0].find('.OxEmpty').each(function() {
Ox.getOxElement($(this)).remove();
Ox.UI.getElement($(this)).remove();
});
} else if (self.options.orientation == 'both') {
that.$content.css({height: getListSize() + 'px'});
@ -594,7 +594,7 @@ Ox.List = function(options, self) {
return that.height() - (
!self.options.disableHorizontalScrolling
&& that.$content.width() > that.width()
? Ox.SCROLLBAR_SIZE : 0
? Ox.UI.SCROLLBAR_SIZE : 0
);
}
@ -782,7 +782,7 @@ Ox.List = function(options, self) {
function getWidth() {
//Ox.Log('List', 'LIST THAT.WIDTH()', that.width())
return that.width() - (
that.$content.height() > that.height() ? Ox.SCROLLBAR_SIZE : 0
that.$content.height() > that.height() ? Ox.UI.SCROLLBAR_SIZE : 0
);
}