fix: js error on qrcode component (#3354)

This commit is contained in:
dni ⚡
2025-09-10 15:30:18 +02:00
committed by GitHub
parent 672a5b3a4d
commit 36fc911b88
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -126,6 +126,6 @@ window.app.component('lnbits-qrcode', {
mounted() {
this.$refs.qrCode.$el.style.maxWidth = this.maxWidth + 'px'
this.$refs.qrCode.$el.setAttribute('width', '100%')
this.$refs.qrCode.$el.setAttribute('height', null)
this.$refs.qrCode.$el.removeAttribute('height')
}
})