From 1c00700894a23599c3d0c7be97951f2649acae2d Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Mon, 31 Mar 2008 13:58:10 -0500 Subject: [PATCH] Fix parentheses. --- src/selector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/selector.js b/src/selector.js index a02c3b6..16787b7 100644 --- a/src/selector.js +++ b/src/selector.js @@ -113,11 +113,11 @@ var Selector = Class.create({ switch (this.mode) { case 'selectorsAPI': - // querySelectorAll queries document-wide, then filters to children + // querySelectorAll queries document-wide, then filters to descendants // of the context element. That's not what we want. // Add an explicit context to the selector if necessary. if (root !== document) { - var oldId = root.id, id = $(root.identify()); + var oldId = root.id, id = $(root).identify(); e = "#" + id + " " + e; }