From effdb84f245cf4cc78350fd69c24efe7ad4739b7 Mon Sep 17 00:00:00 2001 From: OutCast3k Date: Mon, 22 Jun 2015 10:47:54 +0000 Subject: [PATCH] transaction data for qrcode was too much for most browsers, so maximum size has been lowered --- js/coinbin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/coinbin.js b/js/coinbin.js index 23ba6b8..958f696 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -936,7 +936,7 @@ $(document).ready(function() { var w = (screen.availWidth > screen.availHeight ? screen.availWidth : screen.availHeight)/3; var qrcode = new QRCode("qrcode", {width:w, height:w}); qrstr = $(ta).val(); - if(qrstr.length > 2000){ + if(qrstr.length > 1024){ $("#qrcode").html("

Sorry the data is too long for the QR generator.

"); } } else {