diff --git a/src/manipulation.js b/src/manipulation.js index af2d8b8a6..aff90bd4a 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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 ); });