X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=607038944cbe1d3a4e7a10a246e08d77d55d8e03;hb=4b2028896db81e7c5fee13b92a23e89526762f6a;hp=f942bf4f6fceb3d6f6d3d8a59c2407e50349d6dd;hpb=fd30d7746d1b98b362f796f235805061d63d514f;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index f942bf4..6070389 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -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; }) );