Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

s/root/doc

  • Loading branch information...
commit 78bb1116796cd1d72611177874a561ea7f06fc30 1 parent d125815
Rod Vagg authored November 07, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/qwery.js
2  src/qwery.js
@@ -251,7 +251,7 @@
251 251
     }
252 252
     if (selector && arrayLike(selector)) return flatten(selector)
253 253
     if (m = selector.match(easy)) {
254  
-      if (m[1]) return (el = doc[byId](m[1])) ? [el] : []
  254
+      if (m[1]) return (el = root[byId](m[1])) ? [el] : []
255 255
       if (m[2]) return arrayify(root[byTag](m[2]))
256 256
       if (supportsCSS3 && m[3]) return arrayify(root[byClass](m[3]))
257 257
     }

0 notes on commit 78bb111

Please sign in to comment.
Something went wrong with that request. Please try again.