1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-02 21:31:41 +02:00

Really disable suspend cam btn if no webcam

This commit is contained in:
Daniel Berteaud 2015-07-22 00:00:32 +02:00
parent 64d831f951
commit 28da866efd

View File

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