diff --git a/source/Ox.UI/js/Panel/SplitPanel.js b/source/Ox.UI/js/Panel/SplitPanel.js index fa7d5d2f..aed4db3b 100644 --- a/source/Ox.UI/js/Panel/SplitPanel.js +++ b/source/Ox.UI/js/Panel/SplitPanel.js @@ -304,8 +304,7 @@ Ox.SplitPanel = function(options, self) { that.size = function(id, size, callback) { // one can pass index instead of id var index = Ox.isNumber(id) ? id : getIndexById(id), - element = self.options.elements[index], - animate = {}; + element = self.options.elements[index]; if (arguments.length == 1) { return element.element[self.dimensions[0]]() * !that.isCollapsed(index); } else { @@ -320,7 +319,7 @@ Ox.SplitPanel = function(options, self) { (id) -> The SplitPanel id The element's id or index @*/ - // FIXME: isn't 'toggle' reserved by jQuery? + // FIXME: 'toggle' is reserved by jQuery that.toggle = function(id) { // one can pass index instead of id if (self.toggling) {