Update static/js/script.js
Browse files- static/js/script.js +1 -0
static/js/script.js
CHANGED
@@ -26,6 +26,7 @@ function captureImage() {
|
|
26 |
.then(response => response.json())
|
27 |
.then(data => {
|
28 |
console.log(data.message);
|
|
|
29 |
document.getElementById('captured-image').src = imageData;
|
30 |
document.getElementById('captured-image').style.display = 'block';
|
31 |
})
|
|
|
26 |
.then(response => response.json())
|
27 |
.then(data => {
|
28 |
console.log(data.message);
|
29 |
+
alert("Image captured successfully!");
|
30 |
document.getElementById('captured-image').src = imageData;
|
31 |
document.getElementById('captured-image').style.display = 'block';
|
32 |
})
|