aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2009-09-14 18:03:18 +0000
committerAriel Flesler <aflesler@gmail.com>2009-09-14 18:03:18 +0000
commit0790989eb60df9df884837c05f90bab14df0704e (patch)
treebf55d97fcfea5cd68d93e28747e50cec773ad970 /src/manipulation.js
parent66c58e9db6469a0ae3ab7a878b00c66c6a904806 (diff)
downloadjquery-0790989eb60df9df884837c05f90bab14df0704e.tar.gz
jquery-0790989eb60df9df884837c05f90bab14df0704e.zip
jquery core: Fixed #5202. Fixing selector generation when a manipulation function receives a jQuery object.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 95e2f7abf..501383816 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -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 );
};
});