aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-08-17 08:27:28 -0700
committerAdam Soltys <[email protected]>2014-08-17 08:27:28 -0700
commit64edb5636736a9c897958e7b743374addba96bcb (patch)
tree3082599c776e9714c645b72b6440afa7f8177280 /public
parentf48c6901be874dabd4ed9ef6b31052c9b628e4a3 (diff)
downloadcoinos-server-64edb5636736a9c897958e7b743374addba96bcb.tar.gz
coinos-server-64edb5636736a9c897958e7b743374addba96bcb.zip
Display address
Diffstat (limited to 'public')
-rw-r--r--public/js/calculator.coffee5
1 files changed, 1 insertions, 4 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index 64055022..c22d05ee 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -70,10 +70,7 @@ setup = ->
$('#logo').attr('src', '/assets/img/bitcoin.png').show()
$('#logo').click -> $(location).attr("href","/#{g.user}/edit")
- address = g.address
- if g.user? and g.user
- address = "#{address} <a href='http://blockchain.info/address/#{address}' target='_blank'><img src='/assets/img/blockchain.png' /></a>"
-
+ $('#address').html("#{address} <a href='http://blockchain.info/address/#{address}' target='_blank'><img src='/assets/img/blockchain.png' /></a>")
$('#symbol').html(g.symbol + " bid")
$('#currency').html(g.currency)
$('#received').hide()