From 30925a505d47fa8aa24afd639f88b2ff3a9bd3c0 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 18 Jul 2023 16:55:34 +0800 Subject: [PATCH] display prompt after changing display styles --- static/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/app.js b/static/app.js index d2f1076..6d006ab 100755 --- a/static/app.js +++ b/static/app.js @@ -1790,6 +1790,7 @@ displayFormatBtn.addEventListener("click", () => { topRowText.style.display = "inline"; bottomRowText.style.display = "inline"; secondRow.style.display = "flex"; + displaySavePrompt(); inputScrollSpeedRow.forEach((value) => { value.parentElement.parentElement.style.display = "flex"; }); @@ -1797,6 +1798,7 @@ displayFormatBtn.addEventListener("click", () => { topRowText.style.display = "none"; bottomRowText.style.display = "none"; secondRow.style.display = "none"; + displaySavePrompt(); inputScrollSpeedRow.forEach((value) => { value.parentElement.parentElement.style.display = "none"; });