These should be function calls
| @@ -99,7 +99,7 @@ export async function loadInstructMode(data) { | |||
| 99 | } | 99 | } |
| 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')) { |
| 104 | await resetScrollHeight($(this)); | 104 | await resetScrollHeight($(this)); |
| 105 | } | 105 | } |
| @@ -3099,7 +3099,7 @@ $(document).ready(() => { | |||
| 3099 | }); | 3099 | }); |
| 3100 | 3100 | ||
| 3101 | $('#start_reply_with').on('input', function () { | 3101 | $('#start_reply_with').on('input', function () { |
| 3102 | power_user.user_prompt_bias = String($(this).val); | 3102 | power_user.user_prompt_bias = String($(this).val()); |
| 3103 | saveSettingsDebounced(); | 3103 | saveSettingsDebounced(); |
| 3104 | }); | 3104 | }); |
| 3105 | 3105 | ||
| @@ -3631,7 +3631,7 @@ $(document).ready(() => { | |||
| 3631 | }); | 3631 | }); |
| 3632 | 3632 | ||
| 3633 | $('#custom_stopping_strings').on('input', function () { | 3633 | $('#custom_stopping_strings').on('input', function () { |
| 3634 | power_user.custom_stopping_strings = String($(this).val).trim(); | 3634 | power_user.custom_stopping_strings = String($(this).val()).trim(); |
| 3635 | saveSettingsDebounced(); | 3635 | saveSettingsDebounced(); |
| 3636 | }); | 3636 | }); |
| 3637 | 3637 | ||