bug fix
This commit is contained in:
@@ -826,6 +826,19 @@ stopButton.addEventListener("click", () => {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
var stopButton = document.getElementById("screensaver-btn");
|
||||
stopButton.addEventListener("click", () => {
|
||||
let anim = localStorage.getItem("inputAnimation");
|
||||
|
||||
|
||||
fetch("/screensaver", {
|
||||
method: "POST",
|
||||
body: anim,
|
||||
});
|
||||
});
|
||||
|
||||
var dispFormatButton = document.getElementById("dispformat-btn");
|
||||
|
||||
var displayFormats = document.getElementById("inputDisplayFormat");
|
||||
@@ -1269,12 +1282,7 @@ let inputAnimationBtn = document.getElementById("input-animation-btn");
|
||||
|
||||
inputAnimationBtn.addEventListener("click", () => {
|
||||
localStorage.setItem("inputAnimation", inputAnimation.value);
|
||||
|
||||
|
||||
fetch("/screensaver", {
|
||||
method: "POST",
|
||||
body: inputAnimation.value,
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
// scroll speed row two
|
||||
|
Reference in New Issue
Block a user