Skip to content
Permalink
Browse files

Simplify check for non-Elements

  • Loading branch information
markelog committed Dec 24, 2012
1 parent 33be48a commit fa3dad300fb6dc1882eef178cc22a1d7f3974ec1
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/manipulation.js
@@ -633,14 +633,7 @@ function getAll( context, tag ) {
}

function fixCloneNodeIssues( src, dest ) {
var nodeName;

// We do not need to do anything for non-Elements
if ( dest.nodeType !== 1 ) {
return;
}

nodeName = dest.nodeName.toLowerCase();
var nodeName = dest.nodeName.toLowerCase();

// Support: IE >= 9
// Fails to persist the checked state of a cloned checkbox or radio button.

0 comments on commit fa3dad3

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