Skip to content
Permalink
Browse files

Removed extraneous nodeName check from f95147f commit.

  • Loading branch information
jeresig committed Feb 2, 2010
1 parent 532bec4 commit 8a4b2102ff57fb113267cd2824fa4f3a907ae9ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 8a4b210

Please sign in to comment.
You can’t perform that action at this time.