aboutsummaryrefslogtreecommitdiffstats
path: root/qr.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-10-14 12:36:20 -0700
committerAdam Soltys <[email protected]>2012-10-14 12:36:20 -0700
commit0e23f43411319465776a8b1b5d788ad2db3b8178 (patch)
tree5fbd53daacb057aa47aa5679e1072b34963cf740 /qr.js
parent2466d865492cec347c586f55a27d4f3ab6692a80 (diff)
downloadcoinos-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.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/qr.js b/qr.js
index 8cc18f69..a7b00794 100644
--- a/qr.js
+++ b/qr.js
@@ -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) {