public
Fork of sstephenson/prototype
Description: Prototype JavaScript framework
Homepage: http://prototypejs.org/
Clone URL: git://github.com/foca/prototype.git
Search Repo:
Fix parentheses.
Mon Mar 31 11:58:10 -0700 2008
commit  1c00700894a23599c3d0c7be97951f2649acae2d
tree    e6edad77795124b693abc669f3a0c97399b6cc40
parent  ab8cc48b8de4e8bcebfbce6ec3d0f48808c2a9cd
...
113
114
115
116
 
117
118
119
120
 
121
122
123
...
113
114
115
 
116
117
118
119
 
120
121
122
123
0
@@ -113,11 +113,11 @@ var Selector = Class.create({
0
     
0
     switch (this.mode) {
0
       case 'selectorsAPI':
0
- // querySelectorAll queries document-wide, then filters to children
0
+ // querySelectorAll queries document-wide, then filters to descendants
0
         // of the context element. That's not what we want.
0
         // Add an explicit context to the selector if necessary.
0
         if (root !== document) {
0
- var oldId = root.id, id = $(root.identify());
0
+ var oldId = root.id, id = $(root).identify();
0
           e = "#" + id + " " + e;
0
         }
0
 

Comments

    No one has commented yet.