From b6caea023cab2ab29a28b2653326e3b4e3418f63 Mon Sep 17 00:00:00 2001 From: somebody Date: Mon, 28 Nov 2022 22:08:03 -0600 Subject: [PATCH] Fix errors on non-ui modes of finder --- static/koboldai.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/koboldai.js b/static/koboldai.js index a3b459f9..5ce4736a 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -5449,6 +5449,8 @@ process_cookies(); return; } + if (finder_mode !== "ui") return; + const actionsCount = actions.length; let future = finder_selection_index + delta;