fixed bug with select not firing on recent notes

This commit is contained in:
azivner 2018-07-28 18:17:35 +02:00
parent 9b3f3fde05
commit 29086d8dfe

View file

@ -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 () {
const $autocomplete = $(this).parent().find('.relation-target-note-id');