forked from 0x2620/oxjs
improve removal of elements
This commit is contained in:
parent
7848277593
commit
7761b9dea4
3 changed files with 32 additions and 8 deletions
|
|
@ -49,8 +49,8 @@ Ox.forEach($('<div>'), function(val, key) {
|
|||
// if the $element of an ox object was returned
|
||||
// then return the ox object instead
|
||||
// so that we can do oxObj.jqFn().oxFn()
|
||||
return ret && ret.jquery && Ox.UI.elements[id = ret.data('oxid')] ?
|
||||
Ox.UI.elements[id] : ret;
|
||||
return ret && ret.jquery && Ox.UI.elements[id = ret.data('oxid')]
|
||||
? Ox.UI.elements[id] : ret;
|
||||
};
|
||||
}
|
||||
}, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue