1 Commits

Author SHA1 Message Date
492ff000bf Don't copy the text Copied! 2026-02-26 13:26:45 -05:00

View File

@@ -12,6 +12,11 @@ async function handleCopy(event) {
link = event.target;
}
// If the text is already "Copied!", don't do anything
if (text == "Copied!") {
return;
}
try {
// Write to clipboard
await navigator.clipboard.writeText(text);