aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-12-09 00:26:24 -0500
committerRichard Gibson <richard.gibson@gmail.com>2012-12-15 23:16:48 -0500
commita763ae72775f69509d0a8a6b50702bcf2c7e6fbf (patch)
treeb88d062c5199bec72e02e3145c0120aea542fb1d /src/support.js
parent55a8ba52268ba0ef33cb750f5795add38f29d067 (diff)
downloadjquery-a763ae72775f69509d0a8a6b50702bcf2c7e6fbf.tar.gz
jquery-a763ae72775f69509d0a8a6b50702bcf2c7e6fbf.zip
Fix #11115: Normalize boolean attributes/properties. Close gh-1066.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 5c4f192db..70f5f114d 100644
--- a/src/support.js
+++ b/src/support.js
@@ -122,7 +122,7 @@ jQuery.support = (function() {
// Check if we can trust getAttribute("value")
input = document.createElement("input");
input.setAttribute( "value", "" );
- support.valueAttribute = input.getAttribute( "value" ) === "";
+ support.input = input.getAttribute( "value" ) === "";
// Check if an input maintains its value after becoming a radio
input.value = "t";