jump to note list: Improve layout slightly

This commit is contained in:
Elian Doran
2023-08-26 17:48:12 +03:00
parent 4bba0aa842
commit af4d0c3ba6
2 changed files with 7 additions and 10 deletions

View File

@@ -141,12 +141,11 @@ function initNoteAutocomplete($el, options) {
if (options.container) {
autocompleteOptions.dropdownMenuContainer = options.container;
autocompleteOptions.debug = true; // don't close on blur
} else {
autocompleteOptions.appendTo = document.querySelector('body');
}
$el.autocomplete({
...autocompleteOptions,
appendTo: document.querySelector('body'),
hint: false,
autoselect: true,
// openOnFocus has to be false, otherwise re-focus (after return from note type chooser dialog) forces