Added width to QR code

master
Keith Irwin 2022-11-07 13:27:15 -07:00
parent a55542bfd6
commit f5f0f3b417
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 4 additions and 1 deletions

View File

@ -86,7 +86,10 @@ function PeerList() {
cantDelete: true,
}))
self.newConfigText(parsedRes)
new QRCode(document.getElementById('qrcode'),parsedRes)
new QRCode(document.getElementById('qrcode'),{
text: parsedRes,
width: document.documentElement.clientWidth,
})
}
}
}