aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-03-07 18:15:12 +0400
committerDave Methvin <dave.methvin@gmail.com>2013-04-03 22:27:16 -0400
commit6da5eb10337c29c61ebc09fb8e3975509f58f419 (patch)
tree1f7ccad951a89d89f79bbf95af4c32be9bc4649f /src
parent5aaa276e9e0041d099c954fc2744f0797e3893b0 (diff)
downloadjquery-6da5eb10337c29c61ebc09fb8e3975509f58f419.tar.gz
jquery-6da5eb10337c29c61ebc09fb8e3975509f58f419.zip
Follow-up for 22a4e5bd0a7c0a92b54b9965984b582fd42099f2, fix .checkOn, add support tests. Cloes gh-1199.
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