1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 11:42:28 +01:00

#347 Generate QR code from var instead of getting from the DOM.

This commit is contained in:
overint 2017-10-22 12:06:20 +11:00
parent 5a6f4ca3a5
commit a44a3fb225

View File

@ -14,7 +14,7 @@ $('#generateQRCode').click(function () {
var container = $('.qrCodeContainer');
container.empty();
new QRCode(container.get(0), {
text: $('.result-box').val(),
text: original_link,
width: 280,
height: 280
});