mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 00:02:28 +08:00
Fix a bug in the full text search in AutoComplete
This commit is contained in:
parent
c878a6d2fd
commit
b44df12148
@ -131,7 +131,6 @@ function fullTextSearch($el: JQuery<HTMLElement>, options: Options) {
|
|||||||
$el.trigger("focus");
|
$el.trigger("focus");
|
||||||
options.fastSearch = false;
|
options.fastSearch = false;
|
||||||
$el.autocomplete("val", "");
|
$el.autocomplete("val", "");
|
||||||
$el.autocomplete();
|
|
||||||
$el.setSelectedNotePath("");
|
$el.setSelectedNotePath("");
|
||||||
$el.autocomplete("val", searchString);
|
$el.autocomplete("val", searchString);
|
||||||
// Set a delay to avoid resetting to true before full text search (await server.get) is called.
|
// 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