diff options
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Angular.js b/src/Angular.js index 691ddbc6..478ef2a2 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -565,9 +565,9 @@ var trim = (function() { * @returns {boolean} True if `value` is a DOM element (or wrapped jQuery element). */ function isElement(node) { - return node && + return !!(node && (node.nodeName // we are a direct element - || (node.on && node.find)); // we have an on and find method part of jQuery API + || (node.on && node.find))); // we have an on and find method part of jQuery API } /** |
