diff options
fix(views/archive): Item copy link not working properly
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | views/archive/item_show.php | 5 |
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> |
