diff options
author | overint <emcmahonzx@gmail.com> | 2017-10-22 04:06:20 +0300 |
---|---|---|
committer | overint <emcmahonzx@gmail.com> | 2017-10-22 04:06:20 +0300 |
commit | a44a3fb22519b6ef27ea7d3018d42609cfb384c4 (patch) | |
tree | b37e354ef9f63ff3ef82775bc2308c58760156f5 | |
parent | 5a6f4ca3a54c987262df2d0df0f37fb0a1380d5b (diff) |
#347 Generate QR code from var instead of getting from the DOM.
-rw-r--r-- | public/js/shorten_result.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/shorten_result.js b/public/js/shorten_result.js index d9914b0..402919e 100644 --- a/public/js/shorten_result.js +++ b/public/js/shorten_result.js @@ -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 }); |