jclyo1 commited on
Commit
60b70ab
1 Parent(s): b16d75f
Files changed (1) hide show
  1. static/index.html +3 -1
static/index.html CHANGED
@@ -239,7 +239,7 @@
239
  }
240
 
241
  function submitFormData(formData) {
242
- fetch("/verify", {
243
  method: "POST",
244
  body: formData,
245
  })
@@ -308,6 +308,7 @@
308
  var resultsContainer = document.getElementById("image-container");
309
 
310
  var truepicDisplay = document.createElement("truepic-display");
 
311
  truepicDisplay.addEventListener(
312
  "validate",
313
  setVerificationOutputFromValidation
@@ -316,6 +317,7 @@
316
  "validate",
317
  setCertificateOutputFromValidation
318
  );
 
319
 
320
  truepicDisplay.setAttribute("id", "result");
321
  truepicDisplay.setAttribute("active", "");
 
239
  }
240
 
241
  function submitFormData(formData) {
242
+ fetch("verify", {
243
  method: "POST",
244
  body: formData,
245
  })
 
308
  var resultsContainer = document.getElementById("image-container");
309
 
310
  var truepicDisplay = document.createElement("truepic-display");
311
+ /*
312
  truepicDisplay.addEventListener(
313
  "validate",
314
  setVerificationOutputFromValidation
 
317
  "validate",
318
  setCertificateOutputFromValidation
319
  );
320
+ */
321
 
322
  truepicDisplay.setAttribute("id", "result");
323
  truepicDisplay.setAttribute("active", "");