mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 08:38:53 +01:00
fixes single-line inputs and textboxes squished when saving
This commit is contained in:
parent
e3f4b554c7
commit
21cdf49322
@ -100,7 +100,7 @@ export async function loadInstructMode(data) {
|
||||
|
||||
$element.on('input', async function () {
|
||||
power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val();
|
||||
if (!CSS.supports('field-sizing', 'content')) {
|
||||
if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {
|
||||
await resetScrollHeight($(this));
|
||||
}
|
||||
saveSettingsDebounced();
|
||||
|
Loading…
x
Reference in New Issue
Block a user