diff options
-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 |