mirror of https://github.com/dani/vroom.git
Really disable suspend cam btn if no webcam
This commit is contained in:
parent
64d831f951
commit
28da866efd
|
@ -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…
Reference in New Issue