mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
jump to note list: Don't close jump to note results on lost focus
This commit is contained in:
parent
abbd0b50eb
commit
eea29aba0e
@ -140,8 +140,9 @@ function initNoteAutocomplete($el, options) {
|
|||||||
let autocompleteOptions = {};
|
let autocompleteOptions = {};
|
||||||
if (options.container) {
|
if (options.container) {
|
||||||
autocompleteOptions.dropdownMenuContainer = options.container;
|
autocompleteOptions.dropdownMenuContainer = options.container;
|
||||||
|
autocompleteOptions.debug = true; // don't close on blur
|
||||||
} else {
|
} else {
|
||||||
autocompleteOptions.appendTo = document.querySelector('body');
|
autocompleteOptions.appendTo = document.querySelector('body');
|
||||||
}
|
}
|
||||||
|
|
||||||
$el.autocomplete({
|
$el.autocomplete({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user