allow for multi-upload files via button
This commit is contained in:
parent
b0d726b8ef
commit
71ee9d3f36
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ import {I18n} from "./i18n.js";
|
||||||
const input = document.createElement("input");
|
const input = document.createElement("input");
|
||||||
input.type = "file";
|
input.type = "file";
|
||||||
input.click();
|
input.click();
|
||||||
|
input.multiple = true;
|
||||||
console.log("clicked");
|
console.log("clicked");
|
||||||
input.onchange = () => {
|
input.onchange = () => {
|
||||||
if (input.files) {
|
if (input.files) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue