diff --git a/src/layouts/page/tea-cli.html b/src/layouts/page/tea-cli.html index bbb007f..07995dc 100644 --- a/src/layouts/page/tea-cli.html +++ b/src/layouts/page/tea-cli.html @@ -29,7 +29,7 @@ - +
@@ -167,6 +167,8 @@ /* Alert the copied text alert("Copied " + copyText.value + " to clipboard");*/ + + document.getElementById("copy-icon").innerHTML = "copied!"; } diff --git a/src/layouts/partials/clipboard-copy.html b/src/layouts/partials/clipboard-copy.html index 5ce6b47..9ffd692 100644 --- a/src/layouts/partials/clipboard-copy.html +++ b/src/layouts/partials/clipboard-copy.html @@ -3,7 +3,7 @@ - +
@@ -66,6 +66,9 @@ // Alert the copied text alert("Copied " + copyText.value + " to clipboard"); + + // Copy icon + document.getElementById("copy-icon").innerHTML = "copied!"; }