mirror of
https://github.com/jquery/jquery.git
synced 2026-02-08 17:34:57 -05:00
Speed up iteration in jQuery#domManip if it called with function inside first argument
This commit is contained in:
@@ -264,7 +264,7 @@ jQuery.fn.extend({
|
||||
return this.each(function( index ) {
|
||||
var self = set.eq( index );
|
||||
if ( isFunction ) {
|
||||
args[0] = value.call( this, index, table ? self.html() : undefined );
|
||||
args[ 0 ] = value.call( this, index, table ? self.html() : undefined );
|
||||
}
|
||||
self.domManip( args, table, callback );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user