From 94fc18fa27bc32a4edd6a45d92ddd5821a2afd55 Mon Sep 17 00:00:00 2001 From: Ricky Miller Date: Mon, 12 Feb 2018 09:40:31 -0600 Subject: [PATCH] Oh right --- js/fileUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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