diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/js/calculator.coffee | 5 | ||||
| -rw-r--r-- | public/success.wav | bin | 0 -> 57388 bytes |
2 files changed, 1 insertions, 4 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index cc45cae5..4d6b0013 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -116,17 +116,14 @@ listen = -> g.blockchain = new WebSocket("wss://ws.blockchain.info/inv") g.blockchain.onopen = -> - $('#connection').fadeIn().removeClass('glyphicon-exclamation-sign').addClass('glyphicon-signal') clear(SOCKET_FAIL) g.blockchain.send('{"op":"addr_sub", "addr":"' + g.user.address + '"}') g.blockchain.onerror = -> - $('#connection').addClass('glyphicon-exclamation-sign').removeClass('glyphicon-signal') g.blockchain = null fail(SOCKET_FAIL) g.blockchain.onclose = -> - $('#connection').addClass('glyphicon-exclamation-sign').removeClass('glyphicon-signal') g.blockchain = null fail(SOCKET_FAIL) listen() @@ -151,7 +148,7 @@ logTransaction = (txid, amount) -> $('#amount').blur() $('#payment').hide() $('#received').fadeIn('slow') - $('#chaching')[0].play() + $('#success')[0].play() g.user.index++ $.post("/#{g.user.username}/transactions", diff --git a/public/success.wav b/public/success.wav Binary files differnew file mode 100644 index 00000000..50547d2b --- /dev/null +++ b/public/success.wav |
