1
0
Fork 0
forked from 0x2620/oxjs

fix a bug in split panel, regarding the size of a second element in relation to a collapsed third element

This commit is contained in:
rlx 2011-11-02 08:22:55 +00:00
commit 7747255ab8
2 changed files with 3 additions and 3 deletions

View file

@ -142,7 +142,7 @@ Ox.SplitPanel = function(options, self) {
css[self.edges[0]] = 'auto'; // fixme: why is this needed?
}
css[self.edges[1]] = (
self.length == 3 ? getVisibleSize(self.options.elements[2]) : 0
self.length == 3 ? getSize(self.options.elements[2]) : 0
) + 'px';
} else {
if (element.size == 'auto') {