diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2012-12-31 15:17:24 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-12-31 15:17:24 -0500 |
commit | e1dcf96b526a7fd9b323cdf7b4f68be1e72f0d6c (patch) | |
tree | a0d61ad2360371a209c6377449080c1b490855d2 /src | |
parent | f75c0627f22b4af52199b46659675258811970f5 (diff) | |
download | jquery-e1dcf96b526a7fd9b323cdf7b4f68be1e72f0d6c.tar.gz jquery-e1dcf96b526a7fd9b323cdf7b4f68be1e72f0d6c.zip |
Use a fresh input for the value-lossage check.
Diffstat (limited to 'src')
-rw-r--r-- | src/support.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/support.js b/src/support.js index 9533294ff..ceb3ddc84 100644 --- a/src/support.js +++ b/src/support.js @@ -85,6 +85,7 @@ jQuery.support = (function() { } // Check if an input maintains its value after becoming a radio + input = document.createElement("input"); input.value = "t"; input.setAttribute( "type", "radio" ); support.radioValue = input.value === "t"; |