Copied message in bold

This commit is contained in:
ricky committed 2026-02-13 22:06:32 -05:00
1 parent 9315433cb1
commit c5318a3528
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ async function handleCopy(event) {
// 4. Update the UI to show it worked
const link = event.target;
const originalText = link.innerText;
link.innerText = "Copied!";
link.innerHTML = "<b>Copied!</b>";
link.style.color = "#4CAF50"; // Turn green
// 5. Reset after 2 seconds