From 4c39b9594ea452b82452627166100621621ca982 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 20 Oct 2012 21:47:29 +0000 Subject: Code cleanup --- css/bitcoin_pos.css | 6 +++--- index.html | 2 +- js/bitcoin_pos.js | 9 +++------ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/css/bitcoin_pos.css b/css/bitcoin_pos.css index eb6e7658..f6b80f58 100644 --- a/css/bitcoin_pos.css +++ b/css/bitcoin_pos.css @@ -1,10 +1,10 @@ body { text-align: center; } body { font-size: 100%; line-height: 100%; } -input[type="text"], span.btn { font-size: 1.4em; height: 1.4em; width: 5em; } -p, span { font-size: 1.4em; } +p, span, input[type="text"] { font-size: 1.4em; } +input[type="text"] { height: 1.4em; width: 5em; } +span.btn { font-size: 1.4em; width: 80%; } small, label { color: #999; font-size: 1.2em; } strong#total { font-size: 2em; } -input[type="submit"] { display: none; } img#banner { width: 100%; } div.container-fluid { diff --git a/index.html b/index.html index 9661be98..10b65302 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ CAD / BTC - + CAD

diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js index eab06e6e..09d4bf1c 100644 --- a/js/bitcoin_pos.js +++ b/js/bitcoin_pos.js @@ -5,15 +5,12 @@ $(function() { var received = 0; var address = getParameterByName('address'); - $('#received').hide(); - $('div.container-fluid').css('width', Math.min(screen.width, 600) + 'px'); - - setupqr(); - if (address == "") window.location = 'index.html?address=1KDaKixtYqPdDNsu3fMeAHHB52R2WHvXCQ' - + setupqr(); + $('#received').hide() + $('div.container-fluid').css('width', Math.min(screen.width, 600) + 'px'); $('#address').html(address); websocket.onopen = function() { -- cgit v1.2.3