From c3bee91b5858548d469911ab5a3788020e781b54 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 17 Mar 2015 15:26:04 +0100 Subject: [PATCH] webkitAudioContext is now deprecated --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index b2208a4..1a36973 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -1490,7 +1490,7 @@ function initVroom(room) { // When we joined the room webrtc.on('joinedRoom', function(){ // Check if sound is detected and warn if it hasn't - if (window.webkitAudioContext || window.AudioContext){ + if (window.AudioContext){ setTimeout(function (){ if (maxVol < -80){ $.notify(locale.NO_SOUND_DETECTED, {