aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-10-20 21:47:29 +0000
committerAdam Soltys <[email protected]>2012-10-20 21:47:29 +0000
commit4c39b9594ea452b82452627166100621621ca982 (patch)
tree2d94b46c90f1ecbfb54d2388c0c6fe90c0f366ea /js
parent1303270b98b95e2ad8e5f2b90b13f42f5e74c24a (diff)
downloadcoinos-server-4c39b9594ea452b82452627166100621621ca982.tar.gz
coinos-server-4c39b9594ea452b82452627166100621621ca982.zip
Code cleanup
Diffstat (limited to 'js')
-rw-r--r--js/bitcoin_pos.js9
1 files changed, 3 insertions, 6 deletions
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() {