From de1cdd2e3f9d9f36ce3d8e97335341cc3237e829 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 22 Jul 2014 15:11:16 -0700 Subject: Play a chaching sound when payment is received --- public/js/calculator.coffee | 1 + 1 file changed, 1 insertion(+) (limited to 'public/js/calculator.coffee') 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", -- cgit v1.2.3