mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 09:15:50 +01:00
refactoring of legacy js events
This commit is contained in:
@@ -29,7 +29,7 @@ $dialog.on("hidden.bs.modal", () => {
|
||||
}
|
||||
|
||||
if ($originallyFocused) {
|
||||
$originallyFocused.focus();
|
||||
$originallyFocused.trigger('focus');
|
||||
$originallyFocused = null;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user