Add question mark to confirm undo button.

This commit is contained in:
yukirij 2024-10-14 13:02:20 -07:00
parent 4bbd97b52c
commit 8d8b5cd347

View File

@ -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");
}
}