Commit 24ffc395 authored by John Resig's avatar John Resig

Missing a var on a for loop, caused a variable to be leaked.

parent e907b876
...@@ -551,7 +551,7 @@ var Expr = Sizzle.selectors = { ...@@ -551,7 +551,7 @@ var Expr = Sizzle.selectors = {
} else if ( name === "not" ) { } else if ( name === "not" ) {
var not = match[3]; var not = match[3];
for ( i = 0, l = not.length; i < l; i++ ) { for ( var i = 0, l = not.length; i < l; i++ ) {
if ( not[i] === elem ) { if ( not[i] === elem ) {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment