@@ -52,6 +52,7 @@ export function armedDeleteIcon(label: string, execute: () => void): HTMLButtonE
|
||||
const button = document.createElement("button");
|
||||
button.type = "button";
|
||||
button.className = "control control-quiet control-icon";
|
||||
button.dataset.kind = "delete";
|
||||
button.setAttribute("aria-label", label);
|
||||
button.title = label;
|
||||
button.replaceChildren(icon("trash"));
|
||||
|
||||
Reference in New Issue
Block a user