From 9eed905ff87c776547c2b5d9657f4451dd0231ee Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 22 Sep 2014 16:05:30 +0200 Subject: [PATCH] TreeList: cosmetic changes --- source/Ox.UI/js/List/TreeList.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Ox.UI/js/List/TreeList.js b/source/Ox.UI/js/List/TreeList.js index ec80ec32..18ee2ba1 100644 --- a/source/Ox.UI/js/List/TreeList.js +++ b/source/Ox.UI/js/List/TreeList.js @@ -93,8 +93,7 @@ Ox.TreeList = function(options, self) { function constructItem(data) { var $item = $('
').css({ - width: self.options.width == 'auto' - ? '100%' + width: self.options.width == 'auto' ? '100%' : self.options.width - Ox.UI.SCROLLBAR_SIZE + 'px' }), $cell = $('
').addClass('OxCell').css({width: '8px'}),