TreeList: cosmetic changes
This commit is contained in:
parent
498c5effa2
commit
9eed905ff8
1 changed files with 1 additions and 2 deletions
|
@ -93,8 +93,7 @@ Ox.TreeList = function(options, self) {
|
||||||
|
|
||||||
function constructItem(data) {
|
function constructItem(data) {
|
||||||
var $item = $('<div>').css({
|
var $item = $('<div>').css({
|
||||||
width: self.options.width == 'auto'
|
width: self.options.width == 'auto' ? '100%'
|
||||||
? '100%'
|
|
||||||
: self.options.width - Ox.UI.SCROLLBAR_SIZE + 'px'
|
: self.options.width - Ox.UI.SCROLLBAR_SIZE + 'px'
|
||||||
}),
|
}),
|
||||||
$cell = $('<div>').addClass('OxCell').css({width: '8px'}),
|
$cell = $('<div>').addClass('OxCell').css({width: '8px'}),
|
||||||
|
|
Loading…
Reference in a new issue