Commit 8a4b2102 authored by jeresig's avatar jeresig

Removed extraneous nodeName check from f95147f4 commit.

parent 532bec4c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment