mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Merge pull request #1086 from TriliumNext/fix_search_of_autocomplete
Fix a bug in the full text search in AutoComplete
This commit is contained in:
commit
0acd3c621e
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user