aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DocumentManager.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-09 16:39:42 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-03-09 16:39:42 -0400
commit636e6880a52d3a1a3e24437f47194a902731401d (patch)
tree4f3517793dcf13191b45645ad68dca390ca7bf4e /src/client/util/DocumentManager.ts
parent5be3be45d1930ec02243b4f37a1ad86a5b5c58bf (diff)
cleanup of warnings
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-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 162a8fffe..c41304b9f 100644
--- a/src/client/util/DocumentManager.ts
+++ b/src/client/util/DocumentManager.ts
@@ -209,7 +209,7 @@ export class DocumentManager {
const maxLocation = StrCast(linkDoc.maximizeLocation, "inTab");
const targetContext = !Doc.AreProtosEqual(linkFollowDocContexts[reverse ? 1 : 0], currentContext) ? linkFollowDocContexts[reverse ? 1 : 0] : undefined;
const target = linkFollowDocs[reverse ? 1 : 0];
- let annotatedDoc = await Cast(target.annotationOn, Doc);
+ const annotatedDoc = await Cast(target.annotationOn, Doc);
if (annotatedDoc) {
annotatedDoc.currentTimecode !== undefined && (target.currentTimecode = linkFollowTimecodes[reverse ? 1 : 0]);
} else {