Only init scroll height of WI keys when first opening the drawer

This commit is contained in:
Cohee
2024-04-05 13:53:39 +03:00
parent 3a0ceae80a
commit b1c2617b0d
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}
});