Firefox changed once again the error when screensharing is not allowed

This commit is contained in:
Daniel Berteaud 2016-10-12 10:08:02 +02:00
parent 9af7c613a1
commit 4e75233063
1 changed files with 1 additions and 1 deletions

View File

@ -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' ||