diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-04-22 00:27:52 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-04-22 00:27:52 -0400 |
commit | 2942be780f3f243dbf82ca012bba284846afee13 (patch) | |
tree | ea0ed435bad9af885284664257163f0aaa7e9be1 /src/attributes.js | |
parent | 16312c6b0627602153e8069f6c2018578289faea (diff) | |
download | jquery-2942be780f3f243dbf82ca012bba284846afee13.tar.gz jquery-2942be780f3f243dbf82ca012bba284846afee13.zip |
Combine the support tests for radioValue and appendChecked
Diffstat (limited to 'src/attributes.js')
-rw-r--r-- | src/attributes.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attributes.js b/src/attributes.js index a296ad112..46582d8b0 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -363,6 +363,7 @@ jQuery.extend({ } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { // Setting the type on a radio button after the value resets the value in IE6-9 // Reset value to it's default in case type is set after value + // This is for element creation var val = elem.getAttribute("value"); elem.setAttribute( "type", value ); if ( val ) { |