diff --git a/static/index.html b/static/index.html index 338ff99..0f0a017 100644 --- a/static/index.html +++ b/static/index.html @@ -75,7 +75,7 @@ .key { width: 30px; } - + .extra { width: 35px; } @@ -204,7 +204,7 @@ case "null": let cb = document.createElement("input"); cb.type = "checkbox"; - cb.value = (column[field] === "YES" ? 1 : 0); + cb.checked = column[field] === "YES"; cb.disabled = true; column[field] = cb; case "extra":