Skip to content
Permalink
Browse files
Fixed .not([]) not working properly.
  • Loading branch information
jeresig committed Jan 11, 2007
1 parent fd30d77 commit 4b2028896db81e7c5fee13b92a23e89526762f6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}) );

0 comments on commit 4b20288

Please sign in to comment.