fixed start btn not working
This commit is contained in:
parent
d001f5a28c
commit
0d4961cb80
@ -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", () => {
|
||||
|
Loading…
Reference in New Issue
Block a user