mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 04:37:40 +01:00
Merge pull request #2790 from khanonnie/fix-input-checkbox-squish
This commit is contained in:
commit
c7af3d826e
@ -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