Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / item_show.php
diff options
context:
space:
mode:
Commit3807c4563441488e0ea7b1b2bff228983b3dba84 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-09 21:29:08 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-09 21:29:08 +0200
Filesc1910eedadd1eb830277902b114602385d364be7 /views/archive/item_show.php
nowayforward_human-3807c4563441488e0ea7b1b2bff228983b3dba84.tar
nowayforward_human-3807c4563441488e0ea7b1b2bff228983b3dba84.tar.gz
nowayforward_human-3807c4563441488e0ea7b1b2bff228983b3dba84.zip
Parent9b06bc37badc54fdb043577143dcc33619c5b548 (diff)
fix(views/archive): Item copy link not working properly
1 files changed, 5 insertions, 0 deletions
-rw-r--r--views/archive/item_show.php5
diff --git a/views/archive/item_show.php b/views/archive/item_show.php
index 1a31f4b..5c5024c 100644
--- a/views/archive/item_show.php
+++ b/views/archive/item_show.php
@@ -5,4 +5,9 @@
}
}
authenticated(showButtons);
+
+ function copyLink(url) {
+ navigator.clipboard.writeText(url);
+ alert("Copied link to clipboard!");
+ }
</script>