diff options
| author | Adam Soltys <[email protected]> | 2012-10-14 12:36:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-10-14 12:36:20 -0700 |
| commit | 0e23f43411319465776a8b1b5d788ad2db3b8178 (patch) | |
| tree | 5fbd53daacb057aa47aa5679e1072b34963cf740 /qr.js | |
| parent | 2466d865492cec347c586f55a27d4f3ab6692a80 (diff) | |
| download | coinos-server-0e23f43411319465776a8b1b5d788ad2db3b8178.tar.gz coinos-server-0e23f43411319465776a8b1b5d788ad2db3b8178.zip | |
Adjust QR code size, use market depth ticker
Diffstat (limited to 'qr.js')
| -rw-r--r-- | qr.js | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -703,24 +703,16 @@ function genframe(instring) var wd, ht, qrc; function setupqr(){ - wd = window.innerWidth-40; - ht = window.innerHeight-40; + wd = 250; + ht = 250; mp = document.getElementById("mapcanv"); - qrd = document.getElementById("qrdiv"); - qrd.style.width = wd + "px"; - qrd.style.height = ht + "px"; - - wd -= 4; - ht -= 80; - var elem = document.getElementById('qrcanv'); qrc = elem.getContext('2d'); qrc.canvas.width = wd; qrc.canvas.height = ht; qrc.fillStyle = '#eee'; qrc.fillRect(0,0,wd,ht); - } function doqr(value) { |
