blob: b3faee949998f6df53244769a06d20cf3148a701 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
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) 2025 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() } })
)
})
|