1
0
Fork 0
forked from 0x2620/oxjs

Ox.UI.elements -> Ox.elements

This commit is contained in:
rlx 2014-09-24 10:26:51 +02:00
commit 0b5f8f9492
5 changed files with 11 additions and 10 deletions

View file

@ -44,6 +44,7 @@ Ox.InfoList = function(options, self) {
that.$element.options({sort: self.options.sort});
},
width: function() {
// FIXME: don't use classname for this lookup
var width = getItemWidth();
$('.OxInfoElement').each(function() {
var $parent = $(this).parent(),
@ -51,7 +52,7 @@ Ox.InfoList = function(options, self) {
$parent.css({width: width - 144});
$parent.parent().css({width: width - 144});
$parent.parent().parent().css({width: width - 8});
Ox.UI.elements[id].options({width: width - 152});
Ox.elements[id].options({width: width - 152});
});
}
});