aboutsummaryrefslogtreecommitdiff
path: root/web/script/dangerbutton.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/script/dangerbutton.ts')
-rw-r--r--web/script/dangerbutton.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/script/dangerbutton.ts b/web/script/dangerbutton.ts
index aabcdb9..a6d82d0 100644
--- a/web/script/dangerbutton.ts
+++ b/web/script/dangerbutton.ts
@@ -1,3 +1,8 @@
+/*
+ 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>
+*/
globalThis.addEventListener("DOMContentLoaded", () => {
document.querySelectorAll("input.danger").forEach(el => {
el.addEventListener("click", ev => {