Permalink
Browse files

Merge remote-tracking branch 'ded/master' into unattached

  • Loading branch information...
rvagg committed Nov 13, 2011
2 parents 0a2f9f0 + 01669db commit b0c51808c4655769a0559557c4da33ec3ebf8640
Showing with 1 addition and 1 deletion.
  1. +1 −1 qwery.js
View
@@ -310,7 +310,7 @@
, supportsCSS3 = function () {
// does native qSA support CSS3 level selectors
try {
- return doc[byClass] && doc.querySelector && doc[qSA] && doc[qSA](':nth-of-type(1)').length
+ return doc[byClass] && doc.querySelector && doc[qSA] && doc[qSA]('body:nth-of-type(1)').length
} catch (e) { return false }
}()
, select = supportsCSS3 ?

0 comments on commit b0c5180

Please sign in to comment.