diff options
author | metamuffin <metamuffin@disroot.org> | 2023-08-01 18:40:35 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-08-01 18:40:35 +0200 |
commit | ad2b4207d48fe19e501e0fac2c1139ce7ef4dea1 (patch) | |
tree | 0ce3271c6ca517fa81bdf6373c4515eeb5a53387 /frontend/ui.ts | |
parent | 7b1cb4e58347758cab25b73dc6486f5f90efa6df (diff) | |
download | fastbangs-ad2b4207d48fe19e501e0fac2c1139ce7ef4dea1.tar fastbangs-ad2b4207d48fe19e501e0fac2c1139ce7ef4dea1.tar.bz2 fastbangs-ad2b4207d48fe19e501e0fac2c1139ce7ef4dea1.tar.zst |
submit ui
Diffstat (limited to 'frontend/ui.ts')
-rw-r--r-- | frontend/ui.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/ui.ts b/frontend/ui.ts index 3b223ba..aebd8f7 100644 --- a/frontend/ui.ts +++ b/frontend/ui.ts @@ -11,7 +11,7 @@ export function add_page_content(engine?: string) { } let status_el: HTMLElement -export function status(level: "error" | "info" | "success", text: string) { +export function status(level: "error" | "info" | "success" | "warn", text: string) { if (!status_el) { status_el = document.createElement("p") document.body.append(status_el) |