From 0e4ba29dd9f3094be8850ecca4e55093ae26edb8 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jan 2020 13:28:37 +0100 Subject: [PATCH] browser: file load regression --- src/client/app/ui/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/ui/utils.js b/src/client/app/ui/utils.js index 06d01d36..6ebbe6c1 100644 --- a/src/client/app/ui/utils.js +++ b/src/client/app/ui/utils.js @@ -216,7 +216,7 @@ module.exports = { callback([path, saveInput.value]) popup.close() } else { - callback([path, choice && options.loadDir ? choice.value : '']) + callback([path, choice ? choice.value : '']) popup.close() } }