Skip to content

Commit 573373b

Browse files
committed
Update readme.md
1 parent 5dfbbf7 commit 573373b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ Therefore, if your requirement is to save the QRCode as an image, you may consid
452452
<!-- QRCode -->
453453
<div id="qrcode"></div>
454454
<!-- Download button -->
455-
<button onclick="downloadQRcode()">download</button>
455+
<button id="qrcode_download" onclick="downloadQRcode()" style="display:none">download</button>
456456

457457

458458
<script type="text/javascript">
@@ -461,7 +461,7 @@ Therefore, if your requirement is to save the QRCode as an image, you may consid
461461
//...
462462
onRenderingEnd:function(options, dataURL){
463463
// Display your download button after the EasyQRCode is rendered.
464-
document.getElementById("qrcode_download").style.display='block';
464+
document.getElementById("qrcode_download").style.display='block';
465465
}
466466
}
467467
// Initiate EasyQRCode

0 commit comments

Comments
 (0)