Fixed .not([]) not working properly.

This commit is contained in:
John Resig 2007-01-11 16:59:41 +00:00
parent fd30d7746d
commit 4b2028896d

View file

@ -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;
}) );