Follow-up for 22a4e5bd0a, fix .checkOn, add support tests. Cloes gh-1199.

This commit is contained in:
Oleg
2013-03-07 18:15:12 +04:00
committed by Dave Methvin
parent 5aaa276e9e
commit 6da5eb1033
2 changed files with 138 additions and 1 deletions

View File

@@ -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