From 3a40cefc55cbbfd71f299f835321742e9ccf4b25 Mon Sep 17 00:00:00 2001 From: somebody Date: Sun, 27 Nov 2022 19:49:58 -0600 Subject: [PATCH] Fix for WI mode erroring on enter press in finder --- static/koboldai.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/koboldai.js b/static/koboldai.js index 8350f59e..43f8859d 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -5435,6 +5435,8 @@ process_cookies(); let index = finder_selection_index >= 0 ? finder_selection_index : 0; if (!actions[index]) return; actions[index].click(); + } else { + return; } } else if (event.key === "ArrowUp") { delta = -1;