fix: js error on qrcode component (#3354)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -126,6 +126,6 @@ window.app.component('lnbits-qrcode', {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.$refs.qrCode.$el.style.maxWidth = this.maxWidth + 'px'
|
this.$refs.qrCode.$el.style.maxWidth = this.maxWidth + 'px'
|
||||||
this.$refs.qrCode.$el.setAttribute('width', '100%')
|
this.$refs.qrCode.$el.setAttribute('width', '100%')
|
||||||
this.$refs.qrCode.$el.setAttribute('height', null)
|
this.$refs.qrCode.$el.removeAttribute('height')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user