From 8a4b2102ff57fb113267cd2824fa4f3a907ae9ed Mon Sep 17 00:00:00 2001 From: jeresig Date: Mon, 1 Feb 2010 21:56:11 -0500 Subject: [PATCH] Removed extraneous nodeName check from f95147f465932cb91e1a6aace50c556820ca4074 commit. --- src/manipulation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manipulation.js b/src/manipulation.js index 6f0373d..d8f51a1 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -197,7 +197,7 @@ jQuery.fn.extend({ // as properties will not be copied (such as the // the name attribute on an input). var html = this.outerHTML, ownerDocument = this.ownerDocument; - if ( !html || jQuery.nodeName( this, "form" ) ) { + if ( !html ) { var div = ownerDocument.createElement("div"); div.appendChild( this.cloneNode(true) ); html = div.innerHTML; -- 1.7.10.4