jquery core: Fixed #5202. Fixing selector generation when a manipulation function receives a jQuery object.
This commit is contained in:
parent
66c58e9db6
commit
0790989eb6
2 changed files with 9 additions and 3 deletions
|
@ -295,8 +295,7 @@ jQuery.each({
|
|||
jQuery.fn[ original ].apply( jQuery(insert[i]), elems );
|
||||
ret = ret.concat( elems );
|
||||
}
|
||||
|
||||
return this.pushStack( ret, name, selector );
|
||||
return this.pushStack( ret, name, insert.selector );
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue