mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 01:45:08 -05:00
Fixed .not([]) not working properly.
This commit is contained in:
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@@ -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;
|
||||
}) );
|
||||
|
||||
Reference in New Issue
Block a user