This commit is contained in:
rolux 2014-08-21 17:38:58 +02:00
parent 6a7b2fa7d7
commit 62d96cd822

View file

@ -56,7 +56,7 @@ Ox.$ = Ox.element = function(value) {
if (includeParent) {
removeOxElement(parent);
} else {
parent.find('.OxElement').forEach(removeOxElement);
$(parent).find('.OxElement').forEach(removeOxElement);
}
function removeOxElement(element) {
Ox.getOxElement(element).removeElement();