Commit 94f6bb66 by Diana Huang

Hide the 'take photo' button when there isn't a camera.

parent 97b738bc
var onVideoFail = function(e) {
if(e == 'NO_DEVICES_FOUND') {
$('#no-webcam').show();
$('#face_capture_button').hide();
$('#photo_id_capture_button').hide();
}
else {
console.log('Failed to get camera access!', e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment