Add message when the URL is copied to the clipboard
All checks were successful
CI / scan_ruby (push) Successful in 16s
CI / scan_js (push) Successful in 13s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 26s

This commit is contained in:
sto
2025-06-21 07:23:02 +02:00
parent 70c0fed0c4
commit 2616cbaa71
3 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
javascript:
async function copyExtensionUrlToClipboard() {
await navigator.clipboard.writeText("#{message_url}?token=#{@contest.generate_token_for(:token)}");
alert("#{t("contests.show.url_copied")}");
}
.row.mb-5