aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 67ba005dc..52f832f42 100644
--- a/src/support.js
+++ b/src/support.js
@@ -13,7 +13,7 @@ jQuery.support = (function( support ) {
input.type = "checkbox";
// Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere)
- support.checkOn = input.value === "";
+ support.checkOn = input.value !== "";
// Must access the parent to make an option select properly
// Support: IE9, IE10