bug fix and update button

This commit is contained in:
Neythen
2021-11-20 15:30:31 +00:00
parent 9c6ad0cde2
commit 9d9306245e
17 changed files with 45 additions and 27 deletions

View File

@@ -839,6 +839,16 @@ stopButton.addEventListener("click", () => {
});
});
var updateButton = document.getElementById("update-btn");
updateButton.addEventListener("click", () => {
fetch("/update", {
method: "POST",
});
});
var dispFormatButton = document.getElementById("dispformat-btn");
var displayFormats = document.getElementById("inputDisplayFormat");