These should be function calls

dec85c42f7e6db537ea06484972e514f64d790da

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +3 -3Ignore whitespace
public/scripts/instruct-mode.js+1 -1
@@ -99,7 +99,7 @@ export async function loadInstructMode(data) {
99 }99 }
100100
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 }
public/scripts/power-user.js+2 -2
@@ -3099,7 +3099,7 @@ $(document).ready(() => {
3099 });3099 });
31003100
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 });
31053105
@@ -3631,7 +3631,7 @@ $(document).ready(() => {
3631 });3631 });
36323632
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 });
36373637