aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-01-11 16:59:41 +0000
committerJohn Resig <jeresig@gmail.com>2007-01-11 16:59:41 +0000
commit4b2028896db81e7c5fee13b92a23e89526762f6a (patch)
tree2fbba697342afa06b943f0c4600ec8ef058cc85d /src
parentfd30d7746d1b98b362f796f235805061d63d514f (diff)
downloadjquery-4b2028896db81e7c5fee13b92a23e89526762f6a.tar.gz
jquery-4b2028896db81e7c5fee13b92a23e89526762f6a.zip
Fixed .not([]) not working properly.
Diffstat (limited to 'src')
-rw-r--r--src/jquery/jquery.js2
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;
}) );