mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Fixed .not([]) not working properly.
This commit is contained in:
parent
fd30d7746d
commit
4b2028896d
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 New Issue
Block a user