mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
jquery core: Closes #3033. Removed support for .. selector on jQuery.find.
This commit is contained in:
@@ -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 );
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user