Fixed .not([]) not working properly.
This commit is contained in:
parent
fd30d7746d
commit
4b2028896d
1 changed files with 1 additions and 1 deletions
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -925,7 +925,7 @@ jQuery.fn = jQuery.prototype = {
|
|||
|
||||
jQuery.grep(this,function(a){
|
||||
if ( t.constructor == Array || t.jquery )
|
||||
return !jQuery.inArray( t, a );
|
||||
return jQuery.inArray( t, a ) < 0;
|
||||
else
|
||||
return a != t;
|
||||
}) );
|
||||
|
|
Loading…
Reference in a new issue