diff options
| author | bobzel <zzzman@gmail.com> | 2021-09-26 15:58:06 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-09-26 15:58:06 -0400 |
| commit | 8ee94e1e6e21e03c942fd77f1e7306558c8942dc (patch) | |
| tree | dcccc84dda3045ec8b262d2d69178e4e1d62a8aa /src/client/views/collections | |
| parent | 967b8d98207e83c27799494601c0db8ba1fa077e (diff) | |
added dontAutoFollowLinks menu item
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/CollectionStackedTimeline.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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<StackedTimelineAnchorProps> // 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]) && |
