mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip.
This commit is contained in:
parent
fe7e2fee16
commit
9368b188c0
@ -68,10 +68,6 @@ jQuery.fn.extend({
|
||||
});
|
||||
},
|
||||
|
||||
contains: function( target ) {
|
||||
return this.has( target ).length > 0;
|
||||
},
|
||||
|
||||
not: function( selector ) {
|
||||
return this.pushStack( winnow(this, selector, false), "not", selector);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user