Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroverint <emcmahonzx@gmail.com>2017-10-22 04:06:20 +0300
committeroverint <emcmahonzx@gmail.com>2017-10-22 04:06:20 +0300
commita44a3fb22519b6ef27ea7d3018d42609cfb384c4 (patch)
treeb37e354ef9f63ff3ef82775bc2308c58760156f5
parent5a6f4ca3a54c987262df2d0df0f37fb0a1380d5b (diff)
#347 Generate QR code from var instead of getting from the DOM.
-rw-r--r--public/js/shorten_result.js2
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
});