Merge "Modify judgment logic"

This commit is contained in:
Zuul 2019-09-04 20:49:11 +00:00 committed by Gerrit Code Review
commit 07b9488d02
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ $(document).ready(function() {
// check value of cookies and set state to the related element
if ($.cookie($(this).attr("id")) == "true") {
$(this).prop("checked", true);
} else if (($.cookie($(this).attr("id")) == "false")) {
} else {
$(this).prop("checked", false);
}