aboutsummaryrefslogtreecommitdiff
path: root/web/script/backbutton.ts
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2023-10-29 20:56:02 +0100
committermetamuffin <metamuffin@disroot.org>2023-10-29 20:58:24 +0100
commit9ac41109362dc118f1dbd2e86e9c8d64fd7364e9 (patch)
tree8616781bea42dca692f7a1da0eb0ed5b98cc90f1 /web/script/backbutton.ts
parent9a9dbc6b86d1ab76777eb9df612c36c8536e574c (diff)
downloadjellything-9ac41109362dc118f1dbd2e86e9c8d64fd7364e9.tar
jellything-9ac41109362dc118f1dbd2e86e9c8d64fd7364e9.tar.bz2
jellything-9ac41109362dc118f1dbd2e86e9c8d64fd7364e9.tar.zst
Add more icons
Signed-off-by: metamuffin <metamuffin@disroot.org>
Diffstat (limited to 'web/script/backbutton.ts')
-rw-r--r--web/script/backbutton.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/script/backbutton.ts b/web/script/backbutton.ts
index c1225c0..79bc7bb 100644
--- a/web/script/backbutton.ts
+++ b/web/script/backbutton.ts
@@ -2,7 +2,7 @@ import { e } from "./jshelper/mod.ts";
globalThis.addEventListener("DOMContentLoaded", () => {
document.getElementsByTagName("nav").item(0)?.prepend(
- e("a", "<- Back", { onclick() { history.back() } })
+ e("a", "Back", { id:"back", class:"icon", onclick() { history.back() } })
)
})