mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Missing a var on a for loop, caused a variable to be leaked.
This commit is contained in:
parent
e907b8769f
commit
24ffc395a7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user