Flip the switch on checkOn

This commit is contained in:
Timmy Willison 2013-09-11 15:03:40 -05:00
parent 6d2c5c715a
commit cb707d8bd0

View File

@ -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