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

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -33,7 +33,7 @@ fileUpload.addEventListener('change', function (e) {
33
  const reader = new FileReader();
34
 
35
  // Set up a callback when the file is loaded
36
- reader.onload = function(e2) {
37
  img = e2.target.result;
38
  detect();
39
  }
 
33
  const reader = new FileReader();
34
 
35
  // Set up a callback when the file is loaded
36
+ reader.onload = (e2) => {
37
  img = e2.target.result;
38
  detect();
39
  }