This commit is contained in:
parent
daf492bf2f
commit
fd9e3a2df5
@ -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")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user