Remove trim from /start-reply-with

b01e2824bee455bec63c156d03752cd89cc97f11

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

1 files changed, +1 -2Showing whitespace changes
public/scripts/power-user.js+1 -2
@@ -4227,14 +4227,13 @@ $(document).ready(() => {
4227 ],4227 ],
4228 callback: (args, value) => {4228 callback: (args, value) => {
4229 const force = isTrueBoolean(String(args?.force ?? false));4229 const force = isTrueBoolean(String(args?.force ?? false));
4230 value = String(value ?? '').trim();
42314230
4232 // Skip processing if no value and not forced4231 // Skip processing if no value and not forced
4233 if (!force && !value) {4232 if (!force && !value) {
4234 return power_user.user_prompt_bias;4233 return power_user.user_prompt_bias;
4235 }4234 }
42364235
4237 power_user.user_prompt_bias = value;4236 power_user.user_prompt_bias = String(value ?? '');
4238 $('#start_reply_with').val(power_user.user_prompt_bias);4237 $('#start_reply_with').val(power_user.user_prompt_bias);
4239 saveSettingsDebounced();4238 saveSettingsDebounced();
42404239