diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index 8b52ca26..d3598e1d 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -343,8 +343,9 @@ this.$element, arguments ), oxid; - // if exactly one $element of an Ox object was returned, then return the - // Ox object instead, so that we can do oxObj.jqFn().oxFn() + // If exactly one $element of an Ox Element was returned, then + // return the Ox Element instead, so that we can do + // oxObj.jqFn().oxFn() return $element && $element.jquery && $element.length == 1 && Ox.elements[oxid = $element.data('oxid')] ? Ox.elements[oxid] : $element; @@ -593,11 +594,6 @@ }; */ - Ox.Element.prototype.removeElement = function removeElement() { - // ... - return this; - }; - /*@ setElement set $element ($element) -> This element