From 75515852ea9742d3d84a0f463c2a2c61ef2b7323 Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Tue, 7 Jan 2014 20:27:45 -0500 Subject: fix(isElement): reduce false-positives in isElement tests Complimentary change to match changed $parse behaviour. --- src/Angular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Angular.js') diff --git a/src/Angular.js b/src/Angular.js index b2905ed9..f1ed847f 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -601,7 +601,7 @@ var trim = (function() { function isElement(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.prop && node.attr && node.find))); // we have an on and find method part of jQuery API } /** -- cgit v1.2.3