Spaces:
Running
Running
Tobias Cornille
commited on
Commit
·
733ed24
1
Parent(s):
e14316a
Update index.js
Browse files
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 =
|
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 |
}
|