Browse Source

Be gone target='_blank' , back to 2003

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
bb6d21abe6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lnbits/extensions/withdraw/templates/withdraw/index.html

4
lnbits/extensions/withdraw/templates/withdraw/index.html

@ -286,8 +286,8 @@ function drawwithdraw() {
if (thewithdraw[2] > 0){
document.getElementById('qrcodetxt').innerHTML = lnurlfau
+
"<a target='_blank' href='{{ url_for('withdraw.display') }}?id=" + thewithdraw[1] + "'><h4>Shareable link</h4></a>" +
"<a target='_blank' href='/withdraw/print/" + window.location.hostname + "/?id=" + thewithdraw[1] + "'><h4>Print all withdraws</h4></a>"
"<a href='{{ url_for('withdraw.display') }}?id=" + thewithdraw[1] + "'><h4>Shareable link</h4></a>" +
"<a href='/withdraw/print/" + window.location.hostname + "/?id=" + thewithdraw[1] + "'><h4>Print all withdraws</h4></a>"
document.getElementById("qrcode").style.backgroundColor = "white";
document.getElementById("qrcode").style.padding = "20px";
}

Loading…
Cancel
Save