Readme update

Should be good to be pushed to main now
This commit is contained in:
Kristy Fournier 2025-10-03 19:03:49 -04:00
parent 76971ea75e
commit 189cafd08a
2 changed files with 11 additions and 1 deletions

View file

@ -347,7 +347,7 @@ async function submitPerms(e) {
tempData["PM"] = document.getElementById("partymodesettingcheckbox").checked;
tempData["VOL"] = document.getElementById("partymodesettingcheckbox").checked;
let returncode = await getFromServer({"setting":"perms","admin":tempData},"settings");
if (returncode == ERR_NO_ADMIN) {
if (returncode == ERR_NO_ADMIN || returncode == null) {
// if you aren't allowed to check the box then toggle it again
// its not perfect if you spam click, but it gets the point across to the user
let clickedBox = e.srcElement;