aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/selector.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selector.js b/src/selector.js
index c8ff8f5ca..913f7486f 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -218,8 +218,7 @@ function find( selector, context, results, seed ) {
// Take advantage of querySelectorAll
if ( !nonnativeSelectorCache[ selector + " " ] &&
- ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
- nodeType !== 1 ) {
+ ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {
newSelector = selector;
newContext = context;