diff --git a/src/public/app/services/note_autocomplete.js b/src/public/app/services/note_autocomplete.js index 6770a3899..648faac8a 100644 --- a/src/public/app/services/note_autocomplete.js +++ b/src/public/app/services/note_autocomplete.js @@ -121,7 +121,7 @@ function fullTextSearch($el, options){ $el.autocomplete('val', ''); $el.setSelectedNotePath(""); $el.autocomplete('val', searchString); - // Set a delay to avoid resetting to true before the full text search is completed. + // Set a delay to avoid resetting to true before full text search (await server.get) is called. setTimeout(() => { options.fastSearch = true; }, 100); }