Fix sysprompts set with commands

17e279addfe4195d9c03b31453770a3fcee56d4f

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

1 files changed, +1 -1Showing whitespace changes
public/scripts/sysprompt.js+1 -1
@@ -143,7 +143,7 @@ function selectSystemPromptCallback(args, name) {
143 foundName = result[0].item;143 foundName = result[0].item;
144 }144 }
145145
146 $select.val(foundName).trigger('input');146 $select.val(foundName).trigger('change');
147 !quiet && toastr.success(`System prompt "${foundName}" selected`);147 !quiet && toastr.success(`System prompt "${foundName}" selected`);
148 return foundName;148 return foundName;
149}149}