Commit e132d6bc authored by Ariel Flesler's avatar Ariel Flesler

jquery core: Closes #3033. Removed support for .. selector on jQuery.find.

parent aacdeeb4
...@@ -266,7 +266,7 @@ jQuery.fn = jQuery.prototype = { ...@@ -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 );
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment