From 1fe47a461fa96dfe2bd79b9197284f7f5aef5eb2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 4 Jun 2014 22:37:09 +0200 Subject: [PATCH] Disable screen sharing buton on android Fix #59 --- public/js/vroom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index af7bef0..efdede0 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -322,8 +322,8 @@ function initVroom(room) { dataType: 'json', }); - // Screen sharing is only suported on chrome > 26 - if ( !$.browser.webkit || $.browser.versionNumber < 26 ) { + // Screen sharing is only suported on chrome desktop > 26 + if ( !$.browser.webkit || $.browser.android || $.browser.versionNumber < 26 ) { $('#shareScreenLabel').addClass('disabled'); }