speed + more config
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
const box = deserializeBox(i);
|
||||
const el = document.getElementById("box-" + box.id);
|
||||
el.checked = box.value;
|
||||
// console.log(i,box,el)
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -24,8 +23,8 @@
|
||||
const items = instruction.split(":");
|
||||
const el = document.getElementById("counter");
|
||||
el.innerText = items[1];
|
||||
const el2 = document.getElementById("ips");
|
||||
el2.innerText = items[2].replaceAll(",", "\n");
|
||||
const el2 = document.getElementById("users");
|
||||
el2.innerText = items[2].replaceAll(",,,", "\n");
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -25,7 +25,6 @@ type Box = {
|
||||
|
||||
const el = document.getElementById("box-" + box.id) as CheckboxEl;
|
||||
el.checked = box.value;
|
||||
// console.log(i,box,el)
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -34,8 +33,8 @@ type Box = {
|
||||
|
||||
const el = document.getElementById("counter") as CheckboxEl;
|
||||
el.innerText = items[1];
|
||||
const el2 = document.getElementById("ips") as CheckboxEl;
|
||||
el2.innerText = items[2].replaceAll(",", "<br/>");
|
||||
const el2 = document.getElementById("users") as CheckboxEl;
|
||||
el2.innerText = items[2].replaceAll(",,,", "\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user