mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fix zen mode with attributes, closes #1213
This commit is contained in:
@@ -230,6 +230,7 @@ function closeActiveDialog() {
|
||||
|
||||
let $lastFocusedElement = null;
|
||||
|
||||
// perhaps there should be saved focused element per tab?
|
||||
function saveFocusedElement() {
|
||||
$lastFocusedElement = $(":focus");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user