From 379aa70184ecfbe6cebc686321cda79cc7ebb56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Eura=C5=A1?= Date: Mon, 1 Oct 2018 01:10:44 +0200 Subject: [PATCH] Fix add file button handler (#663) --- js/fileUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/fileUtils.ts b/js/fileUtils.ts index f479fdfb..0b4adfe2 100644 --- a/js/fileUtils.ts +++ b/js/fileUtils.ts @@ -94,7 +94,7 @@ interface PromptForFileReferenceOptions { export async function promptForFileReferences( { accept, directory = false }: PromptForFileReferenceOptions = { - accept, + accept: null, directory: false } ): Promise {