We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee864d7 commit aa3a38aCopy full SHA for aa3a38a
js/index.js
@@ -31,11 +31,11 @@ function startCapturing(mode) {
31
cameraEnhancer.setScanRegion(region());
32
cameraView.setScanRegionMaskVisible(false);
33
34
+ await cvRouter.startCapturing(SCAN_TEMPLATES[mode]);
35
+
36
// Show MRZ guide frame
37
mrzGuideFrame.style.display = "inline-block";
38
- await cvRouter.startCapturing(SCAN_TEMPLATES[mode]);
-
39
// Update button styles to show selected scan mode
40
document.querySelectorAll(".scan-option-btn").forEach((button) => {
41
button.classList.remove("selected");
0 commit comments