diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-09-11 15:03:40 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-09-11 15:03:40 -0500 |
commit | cb707d8bd0ccd40935a41f0814ff0b85a1e25c40 (patch) | |
tree | cc3c5cf4228c129e78adf7db641490d47b03a8bd /src | |
parent | 6d2c5c715aa53a13025fca6e8efa6533481c5e73 (diff) | |
download | jquery-cb707d8bd0ccd40935a41f0814ff0b85a1e25c40.tar.gz jquery-cb707d8bd0ccd40935a41f0814ff0b85a1e25c40.zip |
Flip the switch on checkOn
Diffstat (limited to 'src')
-rw-r--r-- | src/attributes/val.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/val.js b/src/attributes/val.js index 0e7e7ce43..65d772cc2 100644 --- a/src/attributes/val.js +++ b/src/attributes/val.js @@ -147,7 +147,7 @@ jQuery.each([ "radio", "checkbox" ], function() { } } }; - if ( support.checkOn ) { + if ( !support.checkOn ) { jQuery.valHooks[ this ].get = function( elem ) { // Support: Webkit // "" is returned instead of "on" if a value isn't specified |