From b1c2617b0dcaf86a2dcf8a012d2cfbe5e548dcb0 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 5 Apr 2024 13:53:39 +0300 Subject: [PATCH] Only init scroll height of WI keys when first opening the drawer --- public/index.html | 4 ++-- public/scripts/world-info.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index e807b3d67..107674261 100644 --- a/public/index.html +++ b/public/index.html @@ -4901,7 +4901,7 @@ Primary Keywords - +
Logic @@ -4920,7 +4920,7 @@ Optional Filter
- +
diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index ae601bcea..a8999e228 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -1218,6 +1218,8 @@ function getWorldEntry(name, data, entry) { if (counter.data('first-run')) { counter.data('first-run', false); countTokensDebounced(counter, contentInput.val()); + initScrollHeight(keyInput); + initScrollHeight(keySecondaryInput); } });