From 4e75233063dacd2749bbf0b06607b3aed8caba46 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 12 Oct 2016 10:08:02 +0200 Subject: [PATCH] Firefox changed once again the error when screensharing is not allowed --- 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 19b0f98..5142a18 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -2009,7 +2009,7 @@ function initVroom(room) { // This error usually means you have denied access (old flag way) // or you cancelled screen sharing (new extension way) // or you select no window (in Firefox) - else if ((err.name === 'PermissionDeniedError' || err.name === 'SecurityError') && $.browser.mozilla){ + else if ((err.name === 'PermissionDeniedError' || err.name === 'SecurityError' || err.name === 'NotAllowedError') && $.browser.mozilla){ $('#firefoxShareScreenModal').modal('show'); } else if (err.name === 'PERMISSION_DENIED' ||