display prompt after changing display styles

This commit is contained in:
Justin 2023-07-18 16:55:34 +08:00 committed by GitHub
parent 312489e94e
commit 30925a505d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1790,6 +1790,7 @@ displayFormatBtn.addEventListener("click", () => {
topRowText.style.display = "inline"; topRowText.style.display = "inline";
bottomRowText.style.display = "inline"; bottomRowText.style.display = "inline";
secondRow.style.display = "flex"; secondRow.style.display = "flex";
displaySavePrompt();
inputScrollSpeedRow.forEach((value) => { inputScrollSpeedRow.forEach((value) => {
value.parentElement.parentElement.style.display = "flex"; value.parentElement.parentElement.style.display = "flex";
}); });
@ -1797,6 +1798,7 @@ displayFormatBtn.addEventListener("click", () => {
topRowText.style.display = "none"; topRowText.style.display = "none";
bottomRowText.style.display = "none"; bottomRowText.style.display = "none";
secondRow.style.display = "none"; secondRow.style.display = "none";
displaySavePrompt();
inputScrollSpeedRow.forEach((value) => { inputScrollSpeedRow.forEach((value) => {
value.parentElement.parentElement.style.display = "none"; value.parentElement.parentElement.style.display = "none";
}); });