diff options
author | bobzel <zzzman@gmail.com> | 2025-05-13 13:37:54 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-05-13 13:37:54 -0400 |
commit | 87484331f805f583c98226c5a8c6b1ec5fc88925 (patch) | |
tree | 36366cbc99be80f3beb9aa9eb1091cfab26cb054 /src/client/util/DocumentManager.ts | |
parent | 0c3f86d57225a2991920adef3a337bc13e408ac0 (diff) |
fixed setting up link anchors for video to be added to Doc. fixed imageTemplate to work with templates in tabs. fixed link following from link menu. cleaned up getView with sidebars to open them when needed properly..
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r-- | src/client/util/DocumentManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index fc8f22cf3..422613968 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -250,7 +250,7 @@ export class DocumentManager { const options = optionsIn; Doc.MyRecentlyClosed && Doc.RemoveDocFromList(Doc.MyRecentlyClosed, undefined, targetDoc); const docContextPath = DocumentManager.GetContextPath(targetDoc, true); - if (docContextPath.some(doc => doc.hidden)) options.toggleTarget = false; + if (docContextPath.some(doc => doc !== targetDoc && doc.hidden)) options.toggleTarget = false; let activatedTab = false; if (DocumentView.activateTabView(docContextPath[0])) { options.toggleTarget = false; |