minor reformatting

This commit is contained in:
rolux 2012-05-28 16:04:50 +02:00
parent de9021ca0c
commit f45f993f42

View file

@ -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;
};