aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-04 23:41:31 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-03-04 23:41:31 -0500
commit12329d9de180e8f0bd629ccf6b351baab7782fc5 (patch)
tree9b6422ea9c7c0854c8a068f02b0a87cba13e81ef /src/client/documents/Documents.ts
parent698431888cdc4334f6bbecf71de1499403850067 (diff)
fixes for video snapshots & following links to anchors in videos
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index b06ff5465..5f0e63b56 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -549,8 +549,8 @@ export namespace Docs {
linkDocProto.anchor2 = target.doc;
linkDocProto.anchor1Context = source.ctx;
linkDocProto.anchor2Context = target.ctx;
- linkDocProto.anchor1Timecode = source.doc.currentTimecode;
- linkDocProto.anchor2Timecode = target.doc.currentTimecode;
+ linkDocProto.anchor1Timecode = source.doc.currentTimecode || source.doc.displayTimecode;
+ linkDocProto.anchor2Timecode = target.doc.currentTimecode || source.doc.displayTimecode;
if (linkDocProto.layout_key1 === undefined) {
Cast(linkDocProto.proto, Doc, null).layout_key1 = DocuLinkBox.LayoutString("anchor1");