Permalink
Browse files

s/root/doc

  • Loading branch information...
1 parent d125815 commit 78bb1116796cd1d72611177874a561ea7f06fc30 @rvagg rvagg committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/qwery.js
View
@@ -251,7 +251,7 @@
}
if (selector && arrayLike(selector)) return flatten(selector)
if (m = selector.match(easy)) {
- if (m[1]) return (el = doc[byId](m[1])) ? [el] : []
+ if (m[1]) return (el = root[byId](m[1])) ? [el] : []
if (m[2]) return arrayify(root[byTag](m[2]))
if (supportsCSS3 && m[3]) return arrayify(root[byClass](m[3]))
}

0 comments on commit 78bb111

Please sign in to comment.