From 4b86967e7bc6c79d23f3ab25f5c80c4389e032c8 Mon Sep 17 00:00:00 2001 From: ebolam Date: Wed, 12 Oct 2022 07:58:30 -0400 Subject: [PATCH] Fix for new substitutions scrolling to the top instead of the bottom of the screen --- static/koboldai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/koboldai.js b/static/koboldai.js index 2a424cc2..51b45253 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(); + newCardButton.scrollIntoView(false); }); // Event handler on input