aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/calculator.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-07-22 15:11:16 -0700
committerAdam Soltys <[email protected]>2014-07-22 15:12:19 -0700
commitde1cdd2e3f9d9f36ce3d8e97335341cc3237e829 (patch)
tree813afeb5a1393f66e20b45bd795d2a8123a505bd /public/js/calculator.coffee
parenteb75029273e477a6ed4486d204a19ee762af07bf (diff)
downloadcoinos-server-de1cdd2e3f9d9f36ce3d8e97335341cc3237e829.tar.gz
coinos-server-de1cdd2e3f9d9f36ce3d8e97335341cc3237e829.zip
Play a chaching sound when payment is received
Diffstat (limited to 'public/js/calculator.coffee')
-rw-r--r--public/js/calculator.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index 48e14764..7b42bab5 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -159,6 +159,7 @@ setupSocket = ->
$('#amount').blur()
$('#payment').hide()
$('#received').fadeIn('slow')
+ $('#chaching')[0].play()
if g.user
$.post("/#{g.user}/transactions",