From 8ee94e1e6e21e03c942fd77f1e7306558c8942dc Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 26 Sep 2021 15:58:06 -0400 Subject: added dontAutoFollowLinks menu item --- src/client/views/collections/CollectionStackedTimeline.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index 34f199b09..b1afb998b 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -709,6 +709,7 @@ class StackedTimelineAnchor extends React.Component // bcz: when should links be followed? we don't want to move away from the video to follow a link but we can open it in a sidebar/etc. But we don't know that upfront. // for now, we won't follow any links when the lightbox is oepn to avoid "losing" the video. /*(isDictation || !Doc.AreProtosEqual(LightboxView.LightboxDoc, this.props.layoutDoc))*/ + !this.props.layoutDoc.dontAutoFollowLinks && DocListCast(this.props.mark.links).length && time > NumCast(this.props.mark[this.props.startTag]) && time < NumCast(this.props.mark[this.props.endTag]) && -- cgit v1.2.3-70-g09d2