open href on new tab on QR click (#3989)
This commit is contained in:
+1
-1
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() {
|
||||
|
||||
Reference in New Issue
Block a user