Fix a bug in the full text search in AutoComplete

This commit is contained in:
SiriusXT 2025-01-31 19:10:45 +08:00
parent c878a6d2fd
commit b44df12148

View File

@ -131,7 +131,6 @@ function fullTextSearch($el: JQuery<HTMLElement>, options: Options) {
$el.trigger("focus");
options.fastSearch = false;
$el.autocomplete("val", "");
$el.autocomplete();
$el.setSelectedNotePath("");
$el.autocomplete("val", searchString);
// Set a delay to avoid resetting to true before full text search (await server.get) is called.