aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-10-20 07:08:11 +0000
committerAdam Soltys <[email protected]>2012-10-20 07:08:11 +0000
commitc05abbd72522d67084f6055bfe417a40c9ea1f6e (patch)
tree7bfc25f23509ca5b189632b7c7fc2e4522ea1687 /js
parent64079ceaac7fb03daaf52c8446ecc8bf561fc2d1 (diff)
downloadcoinos-server-c05abbd72522d67084f6055bfe417a40c9ea1f6e.tar.gz
coinos-server-c05abbd72522d67084f6055bfe417a40c9ea1f6e.zip
UI tweaks for mobile
Diffstat (limited to 'js')
-rw-r--r--js/bitcoin_pos.js2
-rw-r--r--js/qr.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js
index f929a477..f9685924 100644
--- a/js/bitcoin_pos.js
+++ b/js/bitcoin_pos.js
@@ -67,6 +67,8 @@ $(function() {
$('#total').html(total.toString());
doqr('bitcoin:' + address + '?amount=' + total.toString());
}
+
+ $('input').focus(function() { $(this).val(''); });
});
function getParameterByName(name) {
diff --git a/js/qr.js b/js/qr.js
index a079e7ac..c978215e 100644
--- a/js/qr.js
+++ b/js/qr.js
@@ -703,8 +703,8 @@ function genframe(instring)
var wd, ht, qrc;
function setupqr(){
- wd = 450;
- ht = 450;
+ wd = 350;
+ ht = 350;
mp = document.getElementById("mapcanv");
var elem = document.getElementById('qrcanv');