aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-09-11 15:03:40 -0500
committerTimmy Willison <timmywillisn@gmail.com>2013-09-11 15:03:40 -0500
commitcb707d8bd0ccd40935a41f0814ff0b85a1e25c40 (patch)
treecc3c5cf4228c129e78adf7db641490d47b03a8bd /src
parent6d2c5c715aa53a13025fca6e8efa6533481c5e73 (diff)
downloadjquery-cb707d8bd0ccd40935a41f0814ff0b85a1e25c40.tar.gz
jquery-cb707d8bd0ccd40935a41f0814ff0b85a1e25c40.zip
Flip the switch on checkOn
Diffstat (limited to 'src')
-rw-r--r--src/attributes/val.js2
1 files changed, 1 insertions, 1 deletions
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