forked from 0x2620/oxjs
Ox.UI.elements -> Ox.elements
This commit is contained in:
parent
2d8d88b218
commit
0b5f8f9492
5 changed files with 11 additions and 10 deletions
|
|
@ -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});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue