mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 17:44:56 -05:00
Flip the switch on checkOn
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user