diff options
author | jeresig <jeresig@gmail.com> | 2010-03-05 00:07:57 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-03-05 00:07:57 -0500 |
commit | 2c08004f6d4e7f11a875190e132d204a25cb9418 (patch) | |
tree | 4e40050dbe85f23e0e5f52feabd9d5544fe5b78a /src/manipulation.js | |
parent | 9584e908a2daa2a72bd738302dba7cfd0656dbdf (diff) | |
download | jquery-2c08004f6d4e7f11a875190e132d204a25cb9418.tar.gz jquery-2c08004f6d4e7f11a875190e132d204a25cb9418.zip |
Attempted to fix #6227, not entirely sure if it's a problem as I'm having a hard time reproducing it. Regardless, the change is harmless and potentially even speeds up appendTo, etc. slightly.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index 7dc813689..13f5ec688 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -442,7 +442,7 @@ jQuery.each({ } else { for ( var i = 0, l = insert.length; i < l; i++ ) { var elems = (i > 0 ? this.clone(true) : this).get(); - jQuery.fn[ original ].apply( jQuery(insert[i]), elems ); + jQuery.fn[ original ].call( jQuery(insert[i]), elems ); ret = ret.concat( elems ); } |