Merge "Modify judgment logic"
This commit is contained in:
commit
07b9488d02
@ -21,7 +21,7 @@ $(document).ready(function() {
|
|||||||
// check value of cookies and set state to the related element
|
// check value of cookies and set state to the related element
|
||||||
if ($.cookie($(this).attr("id")) == "true") {
|
if ($.cookie($(this).attr("id")) == "true") {
|
||||||
$(this).prop("checked", true);
|
$(this).prop("checked", true);
|
||||||
} else if (($.cookie($(this).attr("id")) == "false")) {
|
} else {
|
||||||
$(this).prop("checked", false);
|
$(this).prop("checked", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user