X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=607038944cbe1d3a4e7a10a246e08d77d55d8e03;hb=4b2028896db81e7c5fee13b92a23e89526762f6a;hp=9db0f9d5f5f280be42709d806d12d9e29a639599;hpb=9449591eef44360b5bfdb9a23cea1f4a1a6f3c33;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 9db0f9d..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; }) ); @@ -1254,7 +1254,7 @@ jQuery.extend({ prop: function(elem, value, type){ // Handle executable functions if ( value.constructor == Function ) - return value.call( elem ) + return value.call( elem ); // Handle passing in a number to a CSS property if ( value.constructor == Number && type == "css" )