mirror of
https://github.com/OutCast3k/coinbin.git
synced 2025-03-10 11:39:05 +01:00
qrcode bug fix
This commit is contained in:
parent
41d4f793fe
commit
f9110679e2
@ -602,7 +602,7 @@
|
||||
</div>
|
||||
|
||||
<div class="modal-body" align="center">
|
||||
<img src="https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=bitcoin:16fjHscBwW4NxSWzGCPdkPyWnoARUpkwSA" id="qrcode">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
@ -28,6 +28,7 @@ $(document).ready(function() {
|
||||
$("#walletAddress").html(keys.address);
|
||||
$("#walletHistory").attr('href','https://btc.blockr.io/address/info/'+keys.address);
|
||||
|
||||
$("#walletQrCode").html("");
|
||||
var qrcode = new QRCode("walletQrCode");
|
||||
qrcode.makeCode("bitcoin:"+keys.address);
|
||||
|
||||
@ -63,6 +64,7 @@ $(document).ready(function() {
|
||||
$("#walletAddress").html("");
|
||||
$("#walletHistory").attr('href','https://btc.blockr.io/address/info/');
|
||||
|
||||
$("#walletQrCode").html("");
|
||||
var qrcode = new QRCode("walletQrCode");
|
||||
qrcode.makeCode("bitcoin:");
|
||||
|
||||
@ -676,9 +678,10 @@ $(document).ready(function() {
|
||||
/* page load code */
|
||||
|
||||
$(".qrcodeBtn").click(function(){
|
||||
$("#qrcode").html("");
|
||||
var thisbtn = $(this).parent().parent();
|
||||
var qrcode = new QRCode("qrcode");
|
||||
qrcode.makeCode("bitcoin:"+keys.address);
|
||||
qrcode.makeCode("bitcoin:"+$('.address',thisbtn).val());
|
||||
});
|
||||
|
||||
$('input[title!=""], abbr[title!=""]').tooltip({'placement':'bottom'});
|
||||
|
Loading…
x
Reference in New Issue
Block a user