Spaces:
Running
Running
Tobias Cornille
commited on
Commit
·
b317c94
1
Parent(s):
87de83c
Update index.js
Browse files
index.js
CHANGED
@@ -33,7 +33,7 @@ fileUpload.addEventListener('change', function (e) {
|
|
33 |
|
34 |
|
35 |
// Set up a callback when the file is loaded
|
36 |
-
reader.onload = e2
|
37 |
img = e2.target.result;
|
38 |
detect(e2.target.result);
|
39 |
}
|
|
|
33 |
|
34 |
|
35 |
// Set up a callback when the file is loaded
|
36 |
+
reader.onload = function(e2) {
|
37 |
img = e2.target.result;
|
38 |
detect(e2.target.result);
|
39 |
}
|