Really disable suspend cam btn if no webcam

master
Daniel Berteaud 9 years ago
parent 64d831f951
commit 28da866efd
  1. 2
      public/js/vroom.js

@ -2023,7 +2023,7 @@ function initVroom(room) {
// Disable suspend webcam button if no webcam
if (!video){
$('.btn-suspend-cam').addClass('disabled');
$('.btn-suspend-cam').addClass('disabled').attr('disabled', true);
}
// Suspend the webcam

Loading…
Cancel
Save