These should be function calls
| @@ -99,7 +99,7 @@ export async function loadInstructMode(data) { | ||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | $element.on('input', async function () { |
| 102 | 102 | power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val(); |
| 103 | 103 | if (!CSS.supports('field-sizing', 'content')) { |
| 104 | 104 | await resetScrollHeight($(this)); |
| 105 | 105 | } |
| @@ -3099,7 +3099,7 @@ $(document).ready(() => { | ||
| 3099 | 3099 | }); |
| 3100 | 3100 | |
| 3101 | 3101 | $('#start_reply_with').on('input', function () { |
| 3102 | 3102 | power_user.user_prompt_bias = String($(this).val()); |
| 3103 | 3103 | saveSettingsDebounced(); |
| 3104 | 3104 | }); |
| 3105 | 3105 | |
| @@ -3631,7 +3631,7 @@ $(document).ready(() => { | ||
| 3631 | 3631 | }); |
| 3632 | 3632 | |
| 3633 | 3633 | $('#custom_stopping_strings').on('input', function () { |
| 3634 | 3634 | power_user.custom_stopping_strings = String($(this).val()).trim(); |
| 3635 | 3635 | saveSettingsDebounced(); |
| 3636 | 3636 | }); |
| 3637 | 3637 | |