1
0
Fork 0

another try

pull/1/head
Zynh0722 2023-04-13 13:55:22 -07:00
parent 3fb93e3598
commit d984fd8dce
1 changed files with 1 additions and 3 deletions

4
dist/link.html vendored
View File

@ -27,9 +27,7 @@
function clipboard() {
let copyText = document.getElementById("link");
navigator.clipboard.writeText(copyText.href);
alert("Copied: " + copyText.href);
navigator.clipboard.writeText(copyText.href).then(() => alert("Copied: " + copyText.href));
}
</script>
</head>