mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
small fixes related to inherited attributes
This commit is contained in:
@@ -102,6 +102,12 @@ function initNoteAutocomplete($el, options) {
|
||||
}
|
||||
});
|
||||
|
||||
$el.on('autocomplete:opened', () => {
|
||||
if ($el.attr("readonly")) {
|
||||
$el.autocomplete('close');
|
||||
}
|
||||
});
|
||||
|
||||
return $el;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user