prototype: Fix missing "var" in selector.js. Closes #9761.
This commit is contained in:
parent
4b1fb7e03a
commit
cf88669931
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Fix missing "var" in selector.js. Closes #9761. [Tobie Langel]
|
||||
|
||||
* Date#toJSON now returns times in UTC for better compatibility with json.js. Closes #9332. [Tobie Langel]
|
||||
|
||||
* Ensure document._getElementsByXPath extends the elements it returns; fixes $$ not returning extended elements in Opera 9.2. Closes #8843. [jdalton]
|
||||
|
|
|
@ -308,7 +308,7 @@ Object.extend(Selector, {
|
|||
parentNode._counted = true;
|
||||
if (reverse) {
|
||||
for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) {
|
||||
node = nodes[i];
|
||||
var node = nodes[i];
|
||||
if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue