No need to use .call() anymore since we switched from .apply() for appendTo, etc. Thanks to Robert in 2c08004f6d for the heads-up.

This commit is contained in:
jeresig 2010-03-05 09:59:58 -05:00
parent 145f2f0459
commit 0a307b332e

View file

@ -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 ].call( jQuery(insert[i]), elems );
jQuery( insert[i] )[ original ]( elems );
ret = ret.concat( elems );
}