From 4f417e12993ffd1a70e1a2f981c52434702f5120 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 17 May 2020 19:22:59 +0200 Subject: [PATCH] Fix bad call --- assets/js/common/shorcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/common/shorcuts.js b/assets/js/common/shorcuts.js index 1514ff78..e1d63c04 100644 --- a/assets/js/common/shorcuts.js +++ b/assets/js/common/shorcuts.js @@ -319,7 +319,7 @@ async function showInputTextDialog(title, message, defaultValue = "") { title, message, defaultValue, - (msg) => msg === false ? rej : res(msg) + (msg) => msg === false ? rej() : res(msg) ) ) }