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