diff --git a/public/index.html b/public/index.html index 6949d697b..89f531f72 100644 --- a/public/index.html +++ b/public/index.html @@ -2927,28 +2927,29 @@ Select a World Info file for : +

Primary Lorebook

A selected World Info / Lorebook will be bound to this character. When generating an AI reply, it will be combined with the entries from a global World Info / Lorebook selector. Exporting a character would also export the selected World Info file embedded in the JSON data.
-

- Associate extra world info + Additional Lorebooks

- Associate extra lorebooks with this character. + Associate one or more auxillary lorebooks with this character.
NOTE: These choices are optional and won't be preserved on character export!
-
diff --git a/public/script.js b/public/script.js index fdd29b289..d682afa8b 100644 --- a/public/script.js +++ b/public/script.js @@ -5581,11 +5581,16 @@ function openCharacterWorldPopup() { return; } + let selectScrollTop = null; + if (deviceInfo && deviceInfo.device.type === 'desktop') { e.preventDefault(); const option = $(e.target); + const selectElement = $(extraSelect)[0]; + selectScrollTop = selectElement.scrollTop; option.prop('selected', !option.prop('selected')); await delay(1); + selectElement.scrollTop = selectScrollTop; } onExtraWorldInfoChanged();