Add question mark to confirm undo button.
This commit is contained in:
parent
4bbd97b52c
commit
8d8b5cd347
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user