open href on new tab on QR click (#3989)

This commit is contained in:
Tiago Vasconcelos
2026-06-08 14:00:18 +03:00
committed by GitHub
parent e2d83b516a
commit 1367480ec6
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
@@ -85,6 +85,9 @@ window.app.component('lnbits-qrcode', {
event.preventDefault()
event.stopPropagation()
return false
} else if (this.href && this.href.startsWith('http')) {
window.open(this.href, '_blank')
event.preventDefault()
}
},
async writeNfcTag() {