diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-25 19:35:52 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-25 19:35:52 -0400 |
commit | 1d1cb582c0f744afaa51a63d374b9ffe0f58d1db (patch) | |
tree | 4fbd8cb4795b26dd05b0cc6b6f9bbed7dc4d270d | |
parent | 287156197f296fcbcb8be11aa8ce6f1b819aeda6 (diff) | |
download | jquery-1d1cb582c0f744afaa51a63d374b9ffe0f58d1db.tar.gz jquery-1d1cb582c0f744afaa51a63d374b9ffe0f58d1db.zip |
elem.getElementsByTagName calls the function in IE6/7. Fixes #9370.
-rw-r--r-- | src/manipulation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index c76aa9e0d..439b9596b 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 ); } } |