summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dir.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dir.tmpl b/src/dir.tmpl
index 2dceade..3f2314e 100644
--- a/src/dir.tmpl
+++ b/src/dir.tmpl
@@ -274,8 +274,8 @@ const upload = (file) => {
const onSelectFile = () => {
let i = 0;
- for( ; i < input.files.length ; i++) {
- upload(input.files[i]);
+ for( ; i < inputFile.files.length ; i++) {
+ upload(inputFile.files[i]);
}
};
const mkcolEvent = (event) => {