Skip to content
Permalink
Browse files
Simplify check for non-Elements
  • Loading branch information
markelog committed Dec 24, 2012
1 parent 33be48a commit fa3dad3
Showing 1 changed file with 1 addition and 8 deletions.
@@ -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.