diff options
author | bobzel <zzzman@gmail.com> | 2021-01-25 14:01:36 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-01-25 14:01:36 -0500 |
commit | 5a7e3df397e06fffee6a05e57f109714be184034 (patch) | |
tree | 4b2347c3569d5d4b7722ea6c91cad675461361a9 /src/client/views/nodes/DocumentView.tsx | |
parent | 1b3930d46e9fc8950b4997243bb18ca0ae58a345 (diff) |
fixed linking to video to create an anchor if the timecode is not zero.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index e3da48749..6620614f8 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -541,7 +541,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps @undoBatch @action drop = async (e: Event, de: DragManager.DropEvent) => { - if (this.props.LayoutTemplateString) return; + if (this.props.dontRegisterView || this.props.LayoutTemplateString?.includes(LinkAnchorBox.name)) return; if (this.props.Document === CurrentUserUtils.ActiveDashboard) { alert((e.target as any)?.closest?.("*.lm_content") ? "You can't perform this move most likely because you don't have permission to modify the destination." : |