Commit 4b202889 authored by John Resig's avatar John Resig

Fixed .not([]) not working properly.

parent fd30d774
...@@ -925,7 +925,7 @@ jQuery.fn = jQuery.prototype = { ...@@ -925,7 +925,7 @@ jQuery.fn = jQuery.prototype = {
jQuery.grep(this,function(a){ jQuery.grep(this,function(a){
if ( t.constructor == Array || t.jquery ) if ( t.constructor == Array || t.jquery )
return !jQuery.inArray( t, a ); return jQuery.inArray( t, a ) < 0;
else else
return a != t; return a != t;
}) ); }) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment