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 a new issue