diff options
author | Fawn <fangrui_tong@brown.edu> | 2019-06-21 16:27:03 -0400 |
---|---|---|
committer | Fawn <fangrui_tong@brown.edu> | 2019-06-21 16:27:03 -0400 |
commit | a4b34adcb34184728be0b69b33a561f6d10f0a98 (patch) | |
tree | 8989f1245740fa0bac8a1542e619eaff08fe56f2 /src/client/documents/Documents.ts | |
parent | 60f9122ea31d660d60d5429890c4eb0ef6d8613b (diff) |
can drag just a group of links on a doc
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index df5c39562..7cef48b98 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -91,7 +91,9 @@ export namespace DocUtils { // let protoSrc = source.proto ? source.proto : source; // let protoTarg = target.proto ? target.proto : target; export function MakeLink(source: Doc, target: Doc, targetContext?: Doc) { - if (LinkManager.Instance.doesLinkExist(source, target)) return; + if (LinkManager.Instance.doesLinkExist(source, target)) { + console.log("LINK EXISTS"); return; + } UndoManager.RunInBatch(() => { |