fix SplitPanel CSS regression
This commit is contained in:
parent
e582ee5fac
commit
d5c2c7cc56
1 changed files with 3 additions and 3 deletions
|
@ -68,9 +68,9 @@ Ox.SplitPanel = function(options, self) {
|
|||
}, element);
|
||||
// top and bottom (horizontal) or left and right (vertical)
|
||||
self.edges.slice(2).forEach(function(edge) {
|
||||
if (!element.element.css(edge)) {
|
||||
element.element.css(edge, 0);
|
||||
}
|
||||
element.element.css(
|
||||
edge, (parseInt(element.element.css(edge)) || 0) + 'px'
|
||||
);
|
||||
});
|
||||
if (element.collapsed) {
|
||||
// left/right (horizontal) or top/bottom (vertical)
|
||||
|
|
Loading…
Reference in a new issue