diff options
author | John Resig <jeresig@gmail.com> | 2007-01-11 16:59:41 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-01-11 16:59:41 +0000 |
commit | 4b2028896db81e7c5fee13b92a23e89526762f6a (patch) | |
tree | 2fbba697342afa06b943f0c4600ec8ef058cc85d /src | |
parent | fd30d7746d1b98b362f796f235805061d63d514f (diff) | |
download | jquery-4b2028896db81e7c5fee13b92a23e89526762f6a.tar.gz jquery-4b2028896db81e7c5fee13b92a23e89526762f6a.zip |
Fixed .not([]) not working properly.
Diffstat (limited to 'src')
-rw-r--r-- | src/jquery/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index f942bf4f6..607038944 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; }) ); |