aboutsummaryrefslogtreecommitdiff
path: root/src/client/util
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-09 22:48:26 -0400
committerbobzel <zzzman@gmail.com>2020-08-09 22:48:26 -0400
commitdc0ffc050b5b11e345245927f3d8a813937e588d (patch)
treeaba7e5743887274764019e9e07941698c8518ebf /src/client/util
parent3ee0b9320fff9910c38bbef04e4866c6746316b8 (diff)
starting to fix link following behavior to audio regions.
Diffstat (limited to 'src/client/util')
-rw-r--r--src/client/util/DocumentManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts
index 523dbfca0..bd57e7f48 100644
--- a/src/client/util/DocumentManager.ts
+++ b/src/client/util/DocumentManager.ts
@@ -152,7 +152,7 @@ export class DocumentManager {
const first = getFirstDocView(annotatedDoc);
if (first) {
annotatedDoc = first.props.Document;
- docView?.props.focus(annotatedDoc, false);
+ first.props.focus(annotatedDoc, false);
}
}
if (docView) { // we have a docView already and aren't forced to create a new one ... just focus on the document. TODO move into view if necessary otherwise just highlight?