diff options
Diffstat (limited to 'web/script/backbutton.ts')
| -rw-r--r-- | web/script/backbutton.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/web/script/backbutton.ts b/web/script/backbutton.ts deleted file mode 100644 index 28a889a..0000000 --- a/web/script/backbutton.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - This file is part of jellything (https://codeberg.org/metamuffin/jellything) - which is licensed under the GNU Affero General Public License (version 3); see /COPYING. - Copyright (C) 2026 metamuffin <metamuffin.org> -*/ -/// <reference lib="dom" /> -import { e } from "./jshelper/mod.ts"; - -globalThis.addEventListener("DOMContentLoaded", () => { - document.getElementsByTagName("nav").item(0)?.prepend( - e("a", e("p", "Back"), { class: ["back", "hybrid_button"], onclick() { history.back() } }) - ) -}) - |