jquery core: Fixed #5202. Fixing selector generation when a manipulation function...
[jquery.git] / src / manipulation.js
index 95e2f7a..5013838 100644 (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 );
        };
 });