minor reformatting
This commit is contained in:
parent
de9021ca0c
commit
f45f993f42
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ Ox.methods($('<div>'), true).forEach(function(method) {
|
|||
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()
|
||||
return $element && $element.jquery
|
||||
&& $element.length == 1
|
||||
return $element && $element.jquery && $element.length == 1
|
||||
&& Ox.UI.elements[oxid = $element.data('oxid')]
|
||||
? Ox.UI.elements[oxid] : $element;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue