diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index f942bf4f..60703894 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; }) );