Skip to content

Commit

Permalink
QRCode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoapi committed Jun 25, 2017
1 parent f77e100 commit 5dd411b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cryptobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
if (data.boxtype == 'paymentbox') $('.'+ext+'boxlogo').attr('src', 'https://coins.gourl.io/images/'+data.coinname.toLowerCase()+'/payment'+logoext+'.png'); else $('.'+ext+'boxlogo').attr('src', 'https://coins.gourl.io/images/'+data.coinname.toLowerCase()+'/captcha'+logoext+'.png');

var qrcodesize = (typeof $('.'+ext+'qrcode_image').attr('data-size') === 'undefined') ? 110 : $('.'+ext+'qrcode_image').attr('data-size');
$('.'+ext+'qrcode_image').attr('src', 'https://chart.googleapis.com/chart?chs='+qrcodesize+'x'+qrcodesize+'&chld=M|0&cht=qr&chl='+data.coinname+'%3A'+data.addr+'%3Famount%3D'+data.amount+'&choe=UTF-8');
$('.'+ext+'qrcode_image').attr('src', 'https://chart.googleapis.com/chart?chs='+qrcodesize+'x'+qrcodesize+'&chld=M|0&cht=qr&chl='+data.coinname.toLowerCase()+'%3A'+data.addr+'%3Famount%3D'+data.amount+'&choe=UTF-8');

if ($.isFunction($.fn.tooltip))
{
Expand Down
2 changes: 1 addition & 1 deletion cryptobox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5dd411b

Please sign in to comment.