Added width to QR code
parent
a55542bfd6
commit
f5f0f3b417
|
@ -86,7 +86,10 @@ function PeerList() {
|
||||||
cantDelete: true,
|
cantDelete: true,
|
||||||
}))
|
}))
|
||||||
self.newConfigText(parsedRes)
|
self.newConfigText(parsedRes)
|
||||||
new QRCode(document.getElementById('qrcode'),parsedRes)
|
new QRCode(document.getElementById('qrcode'),{
|
||||||
|
text: parsedRes,
|
||||||
|
width: document.documentElement.clientWidth,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue