Browse Source

Fix indentation

pull/1159/head
ngrandjean 5 years ago
committed by GitHub
parent
commit
9fed17d2ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      web_widget_image_webcam/static/src/js/webcam.js

6
web_widget_image_webcam/static/src/js/webcam.js

@ -141,9 +141,9 @@ var Webcam = {
// got access, attach stream to video
try {
video.srcObject = stream;
} catch (error) {
video.src = window.URL.createObjectURL(stream) || stream;
}
} catch (error) {
video.src = window.URL.createObjectURL(stream) || stream;
}
self.stream = stream;
self.loaded = true;
self.live = true;

Loading…
Cancel
Save