We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f06393 commit 160a1bdCopy full SHA for 160a1bd
examples/upload/demo.js
@@ -7,7 +7,7 @@ window.addEventListener('DOMContentLoaded', function () {
7
};
8
9
document.querySelector('input').addEventListener('change', (event) => {
10
- const files = event.target.files;
+ const files = event.target.files[0];
11
const token = {};
12
const cancel = document.getElementById('cancel');
13
const pause = document.getElementById('pause');
0 commit comments