diff --git a/js/fileUtils.js b/js/fileUtils.js index ef96b99c..0e127361 100644 --- a/js/fileUtils.js +++ b/js/fileUtils.js @@ -33,7 +33,7 @@ export async function promptForFileReferences(accept) { // Does this represent a memory leak somehow? // Can this fail? Do we ever reject? const fileInput = document.createElement("input"); - if (accept) fileInput.setAttribute('accept', accept) + if (accept) fileInput.setAttribute("accept", accept) fileInput.type = "file"; fileInput.multiple = true; // Not entirely sure why this is needed, since the input