| 100 | | 100 | |
| 101 | $element.on('input', async function () { | 101 | $element.on('input', async function () { |
| 102 | power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val(); | 102 | power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val(); |
| 103 | if (!CSS.supports('field-sizing', 'content')) { | 103 | if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) { |
| 104 | await resetScrollHeight($(this)); | 104 | await resetScrollHeight($(this)); |
| 105 | } | 105 | } |
| 106 | saveSettingsDebounced(); | 106 | saveSettingsDebounced(); |