diff --git a/static/webui/script.js b/static/webui/script.js index cf83042e..34b39060 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -1984,7 +1984,7 @@ single.getRoute("/webui/cheats").on("beforeload", function () { $(".config-admin-show").removeClass("d-none"); Object.entries(json).forEach(entry => { const [key, value] = entry; - var elm = document.getElementById(key); + const elm = document.getElementById(key); if (elm.type == "checkbox") { elm.checked = value; } else if (elm.classList.contains("tags-input")) {