aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-10-03 17:07:33 -0400
committerbob <bcz@cs.brown.edu>2019-10-03 17:07:33 -0400
commit48ac0b54cfe29b97a7add72b2369bfc2896f98f7 (patch)
treeef5e2d3489a8f920b1cada77b13aa9d0a4894c8b /src/client/documents/Documents.ts
parent6c56481932872e9a35030cf3e44f1a6f75f88c51 (diff)
partially fixed editing text boxes in stacking views. tweaked link following from text boxes.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 2d323ea4b..71b9038d4 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -653,7 +653,7 @@ export namespace DocUtils {
}
});
}
- export function MakeLink(source: {doc:Doc,ctx?:Doc}, target: {doc:Doc,ctx?:Doc}, title: string = "", description: string = "", id?: string, anchored1?: boolean) {
+ export function MakeLink(source: { doc: Doc, ctx?: Doc }, target: { doc: Doc, ctx?: Doc }, title: string = "", description: string = "", id?: string) {
let sv = DocumentManager.Instance.getDocumentView(source.doc);
if (sv && sv.props.ContainingCollectionDoc === target.doc) return;
if (target.doc === CurrentUserUtils.UserDocument) return undefined;
@@ -669,7 +669,6 @@ export namespace DocUtils {
linkDocProto.anchor1 = source.doc;
linkDocProto.anchor1Groups = new List<Doc>([]);
- linkDocProto.anchor1anchored = anchored1;
linkDocProto.anchor2 = target.doc;
linkDocProto.anchor2Groups = new List<Doc>([]);