From 4b2028896db81e7c5fee13b92a23e89526762f6a Mon Sep 17 00:00:00 2001 From: John Resig Date: Thu, 11 Jan 2007 16:59:41 +0000 Subject: [PATCH] Fixed .not([]) not working properly. --- src/jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }) ); -- 1.7.10.4