aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-02-01 21:56:11 -0500
committerjeresig <jeresig@gmail.com>2010-02-01 21:56:11 -0500
commit8a4b2102ff57fb113267cd2824fa4f3a907ae9ed (patch)
treedc01e8bf202332f959e5212f2030874930e644f9 /src/manipulation.js
parent532bec4c694532acbe2e14ad3b6ff72a4da90be0 (diff)
downloadjquery-8a4b2102ff57fb113267cd2824fa4f3a907ae9ed.tar.gz
jquery-8a4b2102ff57fb113267cd2824fa4f3a907ae9ed.zip
Removed extraneous nodeName check from f95147f465932cb91e1a6aace50c556820ca4074 commit.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 6f0373daa..d8f51a171 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;