diff --git a/LNbits/static/app.js b/LNbits/static/app.js index d902e19..bc86e5f 100644 --- a/LNbits/static/app.js +++ b/LNbits/static/app.js @@ -248,9 +248,9 @@ function scanQRsend() { '
Memo: ' + outmemo + '' + - "

" + - JSON.stringify(code.data) + - '

' + + "

" + "" + @@ -266,6 +266,14 @@ function scanQRsend() { } } +function copyfunc(){ + var copyText = document.getElementById("invoiceinput"); + copyText.select(); + copyText.setSelectionRange(0, 99999); + document.execCommand("copy"); + +} + function deletewallet() { var url = 'deletewallet?wal=' + wallet.id + '&usr=' + user window.location.href = url