fix: Update tooltip to say copied when you copy a crypto address
All checks were successful
Build Docker / BuildImage (push) Successful in 46s

This commit is contained in:
2024-08-15 14:29:36 +10:00
parent 6b5fe4bc2f
commit 8687daecfd
3 changed files with 15 additions and 2 deletions

View File

@@ -151,6 +151,10 @@
textArea.select();
document.execCommand('copy');
document.body.removeChild(textArea);
const tooltips = document.querySelectorAll('.tooltip-inner');
tooltips.forEach(tooltip => {
tooltip.innerText = 'Copied!';
});
}
const btc = document.getElementById('btc');