Commit cb707d8b authored by Timmy Willison's avatar Timmy Willison

Flip the switch on checkOn

parent 6d2c5c71
...@@ -147,7 +147,7 @@ jQuery.each([ "radio", "checkbox" ], function() { ...@@ -147,7 +147,7 @@ jQuery.each([ "radio", "checkbox" ], function() {
} }
} }
}; };
if ( support.checkOn ) { if ( !support.checkOn ) {
jQuery.valHooks[ this ].get = function( elem ) { jQuery.valHooks[ this ].get = function( elem ) {
// Support: Webkit // Support: Webkit
// "" is returned instead of "on" if a value isn't specified // "" is returned instead of "on" if a value isn't specified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment