elem.getElementsByTagName calls the function in IE6/7. Fixes #9370.
This commit is contained in:
parent
287156197f
commit
1d1cb582c0
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue