remove test element

This commit is contained in:
j 2012-06-28 12:34:18 +02:00
parent 1118938e30
commit da0fb1af50

View file

@ -417,7 +417,10 @@ Ox.load.UI = function(options, callback) {
width;
width = inner[0].offsetWidth;
outer.css({overflow: 'scroll'});
return 1 + width - (inner[0].offsetWidth == width ? outer[0].clientWidth : inner[0].offsetWidth);
width = 1 + width - (inner[0].offsetWidth == width
? outer[0].clientWidth : inner[0].offsetWidth);
outer.remove();
return width;
})();
//@ Ox.UI.getBarSize <s> get bar size by name
// fixme: the follwing should be deprecated