diff options
author | Oleg <markelog@gmail.com> | 2012-12-24 04:16:17 +0400 |
---|---|---|
committer | Oleg <markelog@gmail.com> | 2012-12-24 04:16:17 +0400 |
commit | 33be48acfdc2059368c3c8d171a1ddb94a3c9be9 (patch) | |
tree | 60d10025d7f96ac0da27c3ae2b314999a5695662 /src/manipulation.js | |
parent | 5e64281a11301bb95f657e828c5010a9b24d9bff (diff) | |
download | jquery-33be48acfdc2059368c3c8d171a1ddb94a3c9be9.tar.gz jquery-33be48acfdc2059368c3c8d171a1ddb94a3c9be9.zip |
Remove fix for object element
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index 6c7017f0d..355739a10 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -642,22 +642,9 @@ function fixCloneNodeIssues( src, dest ) { nodeName = dest.nodeName.toLowerCase(); - if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // Support: IE 9 - // When cloning an object the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( src.innerHTML && !jQuery.trim( dest.innerHTML ) ) { - dest.innerHTML = src.innerHTML; - } - // Support: IE >= 9 // Fails to persist the checked state of a cloned checkbox or radio button. - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { + if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { dest.checked = src.checked; // Support: IE >= 9 |