mirror of
https://github.com/bumi/lntip
synced 2025-06-16 17:55:35 +00:00
commit
bdd3b70e1f
@ -148,7 +148,7 @@ class LnMe {
|
|||||||
this.target.querySelectorAll('.lnme-copy').forEach(element => {
|
this.target.querySelectorAll('.lnme-copy').forEach(element => {
|
||||||
element.addEventListener('click', (e) => {
|
element.addEventListener('click', (e) => {
|
||||||
navigator.clipboard.writeText(this.invoice.payment_request).then(() => {
|
navigator.clipboard.writeText(this.invoice.payment_request).then(() => {
|
||||||
alert('Copied to clipboad');
|
alert('Copied to clipboard');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user