mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fixed bug with select not firing on recent notes
This commit is contained in:
parent
9b3f3fde05
commit
29086d8dfe
@ -232,12 +232,6 @@ async function initAutocomplete($el) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$dialog.on('focus', '.relation-target-note-id', async function (e) {
|
|
||||||
await initAutocomplete($(this));
|
|
||||||
|
|
||||||
$(this).autocomplete("search", $(this).val());
|
|
||||||
});
|
|
||||||
|
|
||||||
$dialog.on('click', '.relations-show-recent-notes', async function () {
|
$dialog.on('click', '.relations-show-recent-notes', async function () {
|
||||||
const $autocomplete = $(this).parent().find('.relation-target-note-id');
|
const $autocomplete = $(this).parent().find('.relation-target-note-id');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user