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:
parent
5a6f4ca3a5
commit
a44a3fb225
@ -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
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user