Skip to content
Permalink
Browse files

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

  • Loading branch information
jeresig committed Sep 15, 2009
1 parent daffb95 commit e907b8769f473d8b3b271ce91fb0e7a1b3a6d24f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/selector.js
@@ -551,7 +551,7 @@ var Expr = Sizzle.selectors = {
} else if ( name === "not" ) {
var not = match[3];

for ( var i = 0, l = not.length; i < l; i++ ) {
for ( i = 0, l = not.length; i < l; i++ ) {
if ( not[i] === elem ) {
return false;
}

0 comments on commit e907b87

Please sign in to comment.
You can’t perform that action at this time.