mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 17:21:23 +08:00
escape now closes recent notes (as works in other dialogs)
This commit is contained in:
parent
c3462a3d0e
commit
562a071350
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ $('#recent-notes-select-box').keydown(e => {
|
|||
else if (key === 76 /* l */) {
|
||||
addLinkBasedOnRecentNotes();
|
||||
}
|
||||
else {
|
||||
return; // avoid prevent default
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue