From 8d8b5cd34749d7436d63ec4c642fecb2103f4cf7 Mon Sep 17 00:00:00 2001 From: yukirij Date: Mon, 14 Oct 2024 13:02:20 -0700 Subject: [PATCH] Add question mark to confirm undo button. --- www/js/interface.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/js/interface.js b/www/js/interface.js index 20a98b2..d75fe84 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -406,8 +406,10 @@ const INTERFACE = { b_undo.removeAttribute("disabled"); if(INTERFACE_DATA.Ui.request_undo == 2) { + b_undo.innerText = "Undo?"; b_undo.setAttribute("class", "warn"); } else { + b_undo.innerText = "Undo"; b_undo.removeAttribute("class"); } }