Tobias Cornille commited on
Commit
f393307
·
1 Parent(s): 733ed24

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -0
index.js CHANGED
@@ -35,6 +35,7 @@ fileUpload.addEventListener('change', function (e) {
35
  // Set up a callback when the file is loaded
36
  reader.onload = (e2) => {
37
  img = e2.target.result;
 
38
  detect();
39
  }
40
 
 
35
  // Set up a callback when the file is loaded
36
  reader.onload = (e2) => {
37
  img = e2.target.result;
38
+ console.log('img in fileUpload event:', img, e2.target.result);
39
  detect();
40
  }
41