mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Flip the switch on checkOn
This commit is contained in:
parent
6d2c5c715a
commit
cb707d8bd0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user