diff --git a/resources/views/fields/camera-capture.blade.php b/resources/views/fields/camera-capture.blade.php
index 0bff038..b29127a 100644
--- a/resources/views/fields/camera-capture.blade.php
+++ b/resources/views/fields/camera-capture.blade.php
@@ -44,12 +44,11 @@ document.addEventListener('DOMContentLoaded', () => {
-
- Capture
- Retake
- Switch Camera
-
-
+
+ Capture
+ Retake
+ Switch Camera
+
@@ -99,6 +98,7 @@ function cameraCapture() {
snapshot.src = dataUrl;
snapshot.classList.remove('hidden');
+ video.classList.add('hidden');
this.photoTaken = true;
this.$refs.hiddenInput.value = dataUrl;
@@ -107,7 +107,7 @@ function cameraCapture() {
async retakePhoto() {
this.photoTaken = false;
this.$refs.snapshot.classList.add('hidden');
- //this.$refs.video.classList.remove('hidden');
+ this.$refs.video.classList.remove('hidden');
await this.initCamera();
}
}