Approval buttons read Proceed/Deny
This commit is contained in:
1 parent
5ea1a7a3a2
commit
5cbff38ea5
1 file changed
+2
-2
+2
-2
@@ -245,8 +245,8 @@ const items = new Map<string, Item>();
|
|||||||
function ask(m: Msg, itemId: string, target: "triage" | "output") {
|
function ask(m: Msg, itemId: string, target: "triage" | "output") {
|
||||||
m.li.classList.add("asking");
|
m.li.classList.add("asking");
|
||||||
m.actions.replaceChildren();
|
m.actions.replaceChildren();
|
||||||
const yes = el("button", "btn btn-go inked", target === "triage" ? "Fly it" : "Looks good");
|
const yes = el("button", "btn btn-go inked", target === "triage" ? "Proceed" : "Looks good");
|
||||||
const no = el("button", "btn btn-no inked", target === "triage" ? "Not like that" : "Not right");
|
const no = el("button", "btn btn-no inked", target === "triage" ? "Deny" : "Not right");
|
||||||
const err = el("p", "err");
|
const err = el("p", "err");
|
||||||
for (const [b, approve] of [[yes, true], [no, false]] as const) {
|
for (const [b, approve] of [[yes, true], [no, false]] as const) {
|
||||||
b.type = "button";
|
b.type = "button";
|
||||||
|
|||||||
Reference in new issue
Block a user