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){
|
jQuery.grep(this,function(a){
|
||||||
if ( t.constructor == Array || t.jquery )
|
if ( t.constructor == Array || t.jquery )
|
||||||
return !jQuery.inArray( t, a );
|
return jQuery.inArray( t, a ) < 0;
|
||||||
else
|
else
|
||||||
return a != t;
|
return a != t;
|
||||||
}) );
|
}) );
|
||||||
|
|
Loading…
Reference in a new issue