Continue work on getting a working copy notice
This commit is contained in:
4
app.js
4
app.js
@@ -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);
|
||||
|
Reference in New Issue
Block a user