Keyboard shortcut overlay
This commit is contained in:
Vendored
+2
-2
@@ -95,8 +95,8 @@ function modal(content, buttons, anchor = null) {
|
||||
actions.at(-1)?.focus();
|
||||
});
|
||||
}
|
||||
export async function showAlert(text) {
|
||||
await modal(text, [{ label: "OK", value: "ok", class: "primary" }]);
|
||||
export async function showAlert(content) {
|
||||
await modal(content, [{ label: "OK", value: "ok", class: "primary" }]);
|
||||
}
|
||||
export async function showConfirm(content, action, danger = false, anchor = null) {
|
||||
const value = await modal(content, [
|
||||
|
||||
Reference in New Issue
Block a user