From 6da5eb10337c29c61ebc09fb8e3975509f58f419 Mon Sep 17 00:00:00 2001 From: Oleg Date: Thu, 7 Mar 2013 18:15:12 +0400 Subject: Follow-up for 22a4e5bd0a7c0a92b54b9965984b582fd42099f2, fix .checkOn, add support tests. Cloes gh-1199. --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3