Skip to content

Commit

Permalink
Well, looks like that byId call is necessary. Adding it back using do…
Browse files Browse the repository at this point in the history
…m.byId. Sorry guys, thanks Bill for keeping me honest. Refs #14204 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@27045 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
kfranqueiro committed Nov 17, 2011
1 parent 911a9e0 commit 6e2e956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selector/acme.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ define([
(parts.length == 1 && !/[^\w#\.]/.test(filter)) ?
getSimpleFilterFunc(parts[0]) :
function(node){
return array.indexOf(query(filter, root), node) != -1;
return array.indexOf(query(filter, dom.byId(root)), node) != -1;
};
for(var x = 0, te; te = nodeList[x]; x++){
if(filterFunc(te)){ tmpNodeList.push(te); }
Expand Down

0 comments on commit 6e2e956

Please sign in to comment.