diff options
author | bobzel <zzzman@gmail.com> | 2021-08-03 13:09:48 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-03 13:09:48 -0400 |
commit | 0e8aef275346b4ba3bc1bb91fda17a335c307bf1 (patch) | |
tree | 272b26487b58db451fc6f04cb0e530b75033c49d /src/client/util/DocumentManager.ts | |
parent | 2abbe23a9c6054e4ff5314333bba25b88554d1ec (diff) |
fixed using viewSpecs when following links to set filters/viewType 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 5b092258a..9c6100249 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -163,7 +163,7 @@ export class DocumentManager { const targetDocContext = contextDoc || annotatedDoc; const targetDocContextView = targetDocContext && getFirstDocView(targetDocContext); const focusView = !docView && targetDoc.type === DocumentType.MARKER && annoContainerView ? annoContainerView : docView; - if (!docView && annoContainerView && !focusView) { + if (!docView && annoContainerView) { annoContainerView.focus(targetDoc); // this allows something like a PDF view to remove its doc filters to expose the target so that it can be found in the retry code below } if (focusView) { |