Disable screen sharing buton on android

Fix #59
master
Daniel Berteaud 11 years ago
parent 91467fd800
commit 1fe47a461f
  1. 4
      public/js/vroom.js

@ -322,8 +322,8 @@ function initVroom(room) {
dataType: 'json', dataType: 'json',
}); });
// Screen sharing is only suported on chrome > 26 // Screen sharing is only suported on chrome desktop > 26
if ( !$.browser.webkit || $.browser.versionNumber < 26 ) { if ( !$.browser.webkit || $.browser.android || $.browser.versionNumber < 26 ) {
$('#shareScreenLabel').addClass('disabled'); $('#shareScreenLabel').addClass('disabled');
} }

Loading…
Cancel
Save