fixed start btn not working
This commit is contained in:
@@ -865,6 +865,14 @@ allFeaturesTextAddBtn.map((value, index) => {
|
||||
}
|
||||
});
|
||||
|
||||
var startButton = document.getElementById("start-btn");
|
||||
// start the display
|
||||
startButton.addEventListener("click", () => {
|
||||
fetch("/start", {
|
||||
method: "PUT",
|
||||
});
|
||||
});
|
||||
|
||||
var brightnessButton = document.getElementById("brightness-btn");
|
||||
// start the display
|
||||
brightnessButton.addEventListener("click", () => {
|
||||
|
Reference in New Issue
Block a user