jquery core: Closes #3033. Removed support for .. selector on jQuery.find.
This commit is contained in:
parent
aacdeeb48d
commit
e132d6bc53
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ jQuery.fn = jQuery.prototype = {
|
||||||
return jQuery.find( selector, elem );
|
return jQuery.find( selector, elem );
|
||||||
});
|
});
|
||||||
|
|
||||||
return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ?
|
return this.pushStack( /[^+>] [^+>]/.test( selector ) ?
|
||||||
jQuery.unique( elems ) :
|
jQuery.unique( elems ) :
|
||||||
elems );
|
elems );
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue