Fix parentheses.

This commit is contained in:
Andrew Dupont 2008-03-31 13:58:10 -05:00
parent ab8cc48b8d
commit 1c00700894
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}