jquery core: Fixed #5202. Fixing selector generation when a manipulation function receives a jQuery object.

This commit is contained in:
Ariel Flesler 2009-09-14 18:03:18 +00:00
parent 66c58e9db6
commit 0790989eb6
2 changed files with 9 additions and 3 deletions

View file

@ -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 );
};
});