From 4c39b9594ea452b82452627166100621621ca982 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 20 Oct 2012 21:47:29 +0000 Subject: Code cleanup --- js/bitcoin_pos.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'js') 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