mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
These should be function calls
This commit is contained in:
@ -99,7 +99,7 @@ export async function loadInstructMode(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$element.on('input', async function () {
|
$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')) {
|
if (!CSS.supports('field-sizing', 'content')) {
|
||||||
await resetScrollHeight($(this));
|
await resetScrollHeight($(this));
|
||||||
}
|
}
|
||||||
|
@ -3099,7 +3099,7 @@ $(document).ready(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#start_reply_with').on('input', function () {
|
$('#start_reply_with').on('input', function () {
|
||||||
power_user.user_prompt_bias = String($(this).val);
|
power_user.user_prompt_bias = String($(this).val());
|
||||||
saveSettingsDebounced();
|
saveSettingsDebounced();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -3631,7 +3631,7 @@ $(document).ready(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#custom_stopping_strings').on('input', function () {
|
$('#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();
|
saveSettingsDebounced();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user