Allow multiple files to be loaded via eject

This commit is contained in:
Jordan Eldredge 2018-01-18 16:20:22 -08:00
parent 3484d23e13
commit 857d37d868

View file

@ -34,6 +34,7 @@ export async function promptForFileReferences() {
// Can this fail? Do we ever reject?
const fileInput = document.createElement("input");
fileInput.type = "file";
fileInput.multiple = true;
// Not entirely sure why this is needed, since the input
// was just created, but somehow this helps prevent change
// events from getting swallowed.