From a615c1a3b9537fce9bfe01b6d58a59dfdcc1cfe1 Mon Sep 17 00:00:00 2001 From: ebolam Date: Wed, 12 Oct 2022 09:51:29 -0400 Subject: [PATCH] Disabled substitution scrolling since add button is right next to where the new card will show --- static/koboldai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/koboldai.js b/static/koboldai.js index 51b45253..86a84e5d 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -4947,7 +4947,7 @@ let load_substitutions; let c = {target: "", substitution: "", enabled: true} substitutions.push(c); c.card = makeCard(c); - newCardButton.scrollIntoView(false); + //newCardButton.scrollIntoView(false); }); // Event handler on input