diff options
author | Ariel Flesler <aflesler@gmail.com> | 2009-09-14 18:03:18 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2009-09-14 18:03:18 +0000 |
commit | 0790989eb60df9df884837c05f90bab14df0704e (patch) | |
tree | bf55d97fcfea5cd68d93e28747e50cec773ad970 /src/manipulation.js | |
parent | 66c58e9db6469a0ae3ab7a878b00c66c6a904806 (diff) | |
download | jquery-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.js | 3 |
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 ); }; }); |