From d23e40e89dc787cf39388a0dadaff46f10d2c4a6 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 2 Jun 2014 12:08:27 +0200 Subject: [PATCH] Don't add moh notif if it just resumed --- public/js/vroom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index 5ac9680..682225b 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -683,8 +683,10 @@ function initVroom(room) { $('#mohPlayer').get(0).volume = .25; $('#mohPlayer').get(0).play(); } + else{ + $('#pauseMohButton').notify(locale.WAIT_WITH_MUSIC, 'info'); + } $('.aloneEl').show(200); - $('#pauseMohButton').notify(locale.WAIT_WITH_MUSIC, 'info'); } }, 3000); }