diff options
| author | Adam Soltys <[email protected]> | 2016-10-22 18:06:30 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2016-10-22 18:06:30 -0700 |
| commit | 170dee278688a30157b766749de2eb38619e4dc2 (patch) | |
| tree | 1bf34966c7f7b24feea17def5cabe79b15543be0 /public/js | |
| parent | 4e76e93257d779a2b59c123e9ae47cd8c21d3db5 (diff) | |
| download | coinos-server-170dee278688a30157b766749de2eb38619e4dc2.tar.gz coinos-server-170dee278688a30157b766749de2eb38619e4dc2.zip | |
Use blockchain.info as explorer
Diffstat (limited to 'public/js')
| -rw-r--r-- | public/js/calculator.coffee | 2 | ||||
| -rw-r--r-- | public/js/calculator.js | 2 | ||||
| -rw-r--r-- | public/js/wallet.coffee | 2 | ||||
| -rw-r--r-- | public/js/wallet.js | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index 2ed31980..fccc0c5e 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -235,7 +235,7 @@ getAddress = -> g.blockchain.close() if g.blockchain listen() - $('#address').html("<a href='https://tradeblock.com/bitcoin/address/#{g.user.address}'>#{g.user.address}</a>") + $('#address').html("<a href='https://blockchain.info/address/#{g.user.address}'>#{g.user.address}</a>") fail = (msg) -> g.errors.push(msg) diff --git a/public/js/calculator.js b/public/js/calculator.js index a1b22757..ab2123ca 100644 --- a/public/js/calculator.js +++ b/public/js/calculator.js @@ -247,7 +247,7 @@ } listen(); } - return $('#address').html("<a href='https://tradeblock.com/bitcoin/address/" + g.user.address + "'>" + g.user.address + "</a>"); + return $('#address').html("<a href='https://blockchain.info/address/" + g.user.address + "'>" + g.user.address + "</a>"); }; fail = function(msg) { diff --git a/public/js/wallet.coffee b/public/js/wallet.coffee index 3158c99d..bb322875 100644 --- a/public/js/wallet.coffee +++ b/public/js/wallet.coffee @@ -384,7 +384,7 @@ sendTransaction = -> fiat = balance.toFiat() $('#balance').html(g.balance) $('#fiat').html("#{fiat} #{g.user.currency}") - $('#blockchain').off('click').on('click', -> window.open('https://tradeblock.com/bitcoin/tx/' + finaltx.tx.hash, '_blank')) + $('#blockchain').off('click').on('click', -> window.open('https://blockchain.info/tx/' + finaltx.tx.hash, '_blank')) dialog.close() ) ) diff --git a/public/js/wallet.js b/public/js/wallet.js index c9bb846f..012b0f9d 100644 --- a/public/js/wallet.js +++ b/public/js/wallet.js @@ -460,7 +460,7 @@ $('#balance').html(g.balance); $('#fiat').html("" + fiat + " " + g.user.currency); $('#blockchain').off('click').on('click', function() { - return window.open('https://tradeblock.com/bitcoin/tx/' + finaltx.tx.hash, '_blank'); + return window.open('https://blockchain.info/tx/' + finaltx.tx.hash, '_blank'); }); return dialog.close(); }); @@ -558,4 +558,4 @@ })() },{}]},{},[1]) -;
\ No newline at end of file +; |
