firetac commited on
Commit
f4629c4
·
verified ·
1 Parent(s): ee456cb

Update static/js/script.js

Browse files
Files changed (1) hide show
  1. 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
  })