auto start stop display after features to display save prompt

This commit is contained in:
Justin 2023-07-17 18:45:07 +08:00 committed by GitHub
parent 3580432cd2
commit 225ba94d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3175,10 +3175,16 @@ function savePrompt() {
setTimeout(
function() {
document.getElementById('saved-msg-feedback').style.display = "block";
fetch("/stop", {
method: "GET",
});
}, 100);
setTimeout(
function() {
document.getElementById('saved-msg-feedback').style.display = "none";
fetch("/start", {
method: "PUT",
});
}, 3000);
}