From cb707d8bd0ccd40935a41f0814ff0b85a1e25c40 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Wed, 11 Sep 2013 15:03:40 -0500 Subject: [PATCH] Flip the switch on checkOn --- src/attributes/val.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5