aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
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');