diff --git a/src/manipulation.js b/src/manipulation.js index c76aa9e0..439b9596 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -533,7 +533,7 @@ function fixDefaultChecked( elem ) { function findInputs( elem ) { if ( jQuery.nodeName( elem, "input" ) ) { fixDefaultChecked( elem ); - } else if ( elem.getElementsByTagName ) { + } else if ( "getElementsByTagName" in elem ) { jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked ); } }