mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't auto-adjust scroll height if not in viewport
This commit is contained in:
@ -712,6 +712,10 @@ function onChatChanged() {
|
||||
}
|
||||
|
||||
function adjustElementScrollHeight(){
|
||||
if (!$('.sd_settings').is(':visible')) {
|
||||
return;
|
||||
}
|
||||
|
||||
resetScrollHeight($('#sd_prompt_prefix'));
|
||||
resetScrollHeight($('#sd_negative_prompt'));
|
||||
resetScrollHeight($('#sd_character_prompt'));
|
||||
|
Reference in New Issue
Block a user