aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-03 18:47:48 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-03 18:47:48 -0500
commited74b8b6d6c65a24803c4e0e68aa192a750d60fa (patch)
tree237fc7ff35083d17f97a484be4926354ff8edffa /src/client/documents/Documents.ts
parentee7f8a5798bd142246e97c2b347695295ff89c35 (diff)
restructure
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 0f434d616..f81c25bab 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -50,7 +50,6 @@ import { DashWebRTCVideo } from "../views/webcam/DashWebRTCVideo";
import { DocumentType } from "./DocumentTypes";
import { Networking } from "../Network";
import { Upload } from "../../server/SharedMediaTypes";
-import { MainView } from "../views/MainView";
const path = require('path');
export interface DocumentOptions {
@@ -868,10 +867,6 @@ export namespace DocUtils {
DocUtils.ActiveRecordings.map(d => DocUtils.MakeLink({ doc: doc }, { doc: d }, "audio link", "audio timeline"));
}
- function stopLinkCreated() {
- MainView.linkCreated = false;
- }
-
export function MakeLink(source: { doc: Doc }, target: { doc: Doc }, linkRelationship: string = "", id?: string) {
const sv = DocumentManager.Instance.getDocumentView(source.doc);
if (sv && sv.props.ContainingCollectionDoc === target.doc) return;