mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 17:38:47 +02:00
return focus back to note detail after quitting add link dialog
This commit is contained in:
parent
fe86c09f22
commit
ecbaffa5f3
@ -137,6 +137,10 @@ function linkTypeChanged() {
|
||||
|
||||
$linkTypes.change(linkTypeChanged);
|
||||
|
||||
// return back focus to note text detail after quitting add link
|
||||
// the problem is that cursor position is reset
|
||||
$dialog.on("hidden.bs.modal", () => noteDetailText.focus());
|
||||
|
||||
export default {
|
||||
showDialog
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user