diff --git a/resources/views/fields/camera-capture.blade.php b/resources/views/fields/camera-capture.blade.php index 1fb8907..5dce3c5 100644 --- a/resources/views/fields/camera-capture.blade.php +++ b/resources/views/fields/camera-capture.blade.php @@ -1286,13 +1286,11 @@ function cameraCapture() { console.log("Session update result:", data); alert("✅ Serial numbers saved:\n" + JSON.stringify(this.serialNumbers, null, 2)); }; - - } catch (err) { - console.error("OCR verify error:", err); - alert("OCR verify failed:\n" + (err.message || err)); - } - } - + } catch (err) { + console.error("OCR verify error:", err); + alert("OCR verify failed:\n" + (err.message || err)); + } + }, startDetection() { if (this.textDetectionInterval) {