mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
jump to note list: Improve layout slightly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user