X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=27f81cc2450109187ae3094e7f7bd9475bed3796;hb=124acbfbc523614dc5835cfce2c82b867a59986f;hp=613faabb9fcfdc7832c7fa661582b7794a08e7ff;hpb=dd100bf5ac56d5d44afe45d73fe1824bd0135872;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 613faab..27f81cc 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -261,7 +261,7 @@ jQuery.fn.extend({ } }); } else { - return ( this.length ) ? + return this.length ? this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value ) : this; }