mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
jquery core: Closes #3033. Removed support for .. selector on jQuery.find.
This commit is contained in:
parent
aacdeeb48d
commit
e132d6bc53
@ -266,7 +266,7 @@ jQuery.fn = jQuery.prototype = {
|
||||
return jQuery.find( selector, elem );
|
||||
});
|
||||
|
||||
return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ?
|
||||
return this.pushStack( /[^+>] [^+>]/.test( selector ) ?
|
||||
jQuery.unique( elems ) :
|
||||
elems );
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user