mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 08:38:53 +01:00
These should be function calls
This commit is contained in:
parent
ac0c33eb76
commit
dec85c42f7
@ -99,7 +99,7 @@ export async function loadInstructMode(data) {
|
||||
}
|
||||
|
||||
$element.on('input', async function () {
|
||||
power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val;
|
||||
power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val();
|
||||
if (!CSS.supports('field-sizing', 'content')) {
|
||||
await resetScrollHeight($(this));
|
||||
}
|
||||
|
@ -3099,7 +3099,7 @@ $(document).ready(() => {
|
||||
});
|
||||
|
||||
$('#start_reply_with').on('input', function () {
|
||||
power_user.user_prompt_bias = String($(this).val);
|
||||
power_user.user_prompt_bias = String($(this).val());
|
||||
saveSettingsDebounced();
|
||||
});
|
||||
|
||||
@ -3631,7 +3631,7 @@ $(document).ready(() => {
|
||||
});
|
||||
|
||||
$('#custom_stopping_strings').on('input', function () {
|
||||
power_user.custom_stopping_strings = String($(this).val).trim();
|
||||
power_user.custom_stopping_strings = String($(this).val()).trim();
|
||||
saveSettingsDebounced();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user