mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 10:25:08 -05:00
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.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user