Admin mode #5
1 changed files with 4 additions and 4 deletions
|
|
@ -192,11 +192,11 @@ async function checkSettings(skipServer=false) {
|
||||||
qrCodeGenerate()
|
qrCodeGenerate()
|
||||||
document.getElementById("alerttimetextbox").value = alertTime
|
document.getElementById("alerttimetextbox").value = alertTime
|
||||||
partyButtonState = document.getElementById("partymode-button").innerHTML;
|
partyButtonState = document.getElementById("partymode-button").innerHTML;
|
||||||
checksforadmin = document.getElementById("admincheckholder")
|
let nodeList = document.getElementById("admincheckholder").children
|
||||||
// temporary
|
// temporary
|
||||||
for (let i in checksforadmin.children) {
|
for (let i=0; i<nodeList.length;i++) {
|
||||||
if (i.type == "checkbox") {
|
if (nodeList[i].type == 'checkbox') {
|
||||||
i.checked = true;
|
nodeList[i].checked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//ping the server here
|
//ping the server here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue