Continue work on getting a working copy notice

This commit is contained in:
2025-07-28 11:41:52 -04:00
parent e91e7c25eb
commit e613e3d722

4
app.js
View File

@@ -24,7 +24,7 @@ const ethadd = document.getElementById("ethwall").textContent;
const dogeadd = document.getElementById("dogewall").textContent;
// Watch for click on BTC wallet address
document.getElementById("btcwall").addEventListener("click", function(){
document.getElementById("btcwall").addEventListener("click", function(){
// Copy BTC address to clipboard
navigator.clipboard.writeText(btcadd);
// Display alert to confirm the address was added to clipboard
@@ -127,7 +127,7 @@ document.querySelector("#doge-qr-link a").addEventListener("click", function(){
// // Copy BTC address to clipboard
// navigator.clipboard.writeText(btcadd);
// // Display alert to confirm the address was added to clipboard
// btcwall.insertAdjacentHTML("afterend", "<span class=\"crypto-js-copy\" id=\"btc-js-copy\"><br>Copied</span>");
// btcwall.insertAdjacentHTML("afterend", "<span id=\"btc-js-copy\" class=\"button button-v4v\" role=\"button\"><img class=\"icon\" aria-hidden=\"true\" src=\"images/icons/generic-bolt-icon.svg\" alt=\"\">Copied to Clipboard</span>");
// setTimeout(() => {
// document.querySelector("#btc-js-copy").remove();
// }, 10000);