aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/js/deposit.coffee2
-rw-r--r--views/main/deposit.html4
2 files changed, 5 insertions, 1 deletions
diff --git a/public/js/deposit.coffee b/public/js/deposit.coffee
index af789ee3..209781cd 100644
--- a/public/js/deposit.coffee
+++ b/public/js/deposit.coffee
@@ -16,6 +16,8 @@ g = exports ? this
$(->
g.address or= '1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr'
setupSocket()
+ setupQR()
+ displayQR('bitcoin:' + g.address)
)
setupSocket = ->
diff --git a/views/main/deposit.html b/views/main/deposit.html
index 8372d1e5..7f57ab93 100644
--- a/views/main/deposit.html
+++ b/views/main/deposit.html
@@ -14,7 +14,9 @@
Send bitcoins to: 1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr
- <p id="received"></p>
+ <p id="received">
+ <canvas id="qrcanv">No Canvas Support</canvas>
+ </p>
</div>
</body>
</html>