transaction data for qrcode was too much for most browsers, so maximum size has been lowered
This commit is contained in:
parent
d4772fd601
commit
effdb84f24
1 changed files with 1 additions and 1 deletions
|
@ -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("<p>Sorry the data is too long for the QR generator.</p>");
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue