From 08340bca0cb807516e053dbb2b93e0ab65b98fa2 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Wed, 21 May 2014 10:35:47 -0300 Subject: [PATCH] @colkito's suggestion --- js/controllers/header.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/controllers/header.js b/js/controllers/header.js index 1ae0c5583..0a4639329 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -20,6 +20,8 @@ angular.module('copay.header').controller('HeaderController', 'icon': 'fi-archive', 'link': '#/backup' }]; + + var beep = new Audio('sound/transaction.mp3'); // Initialize alert notification (not show when init wallet) $rootScope.txAlertCount = 0; @@ -41,7 +43,6 @@ angular.module('copay.header').controller('HeaderController', } if (currentAddr) { $notification.funds('Received fund', currentAddr, receivedFund); - var beep = new Audio('sound/transaction.mp3'); beep.play(); } }