Skip to content
Permalink
Browse files

elem.getElementsByTagName calls the function in IE6/7. Fixes #9370.

  • Loading branch information...
timmywil
timmywil committed May 25, 2011
1 parent 2871561 commit 1d1cb582c0f744afaa51a63d374b9ffe0f58d1db
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );
}
}

0 comments on commit 1d1cb58

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