diff options
author | bob <bcz@cs.brown.edu> | 2019-11-12 15:07:03 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-11-12 15:07:03 -0500 |
commit | d7150995d62c498ab8435de986b90d98bdca020c (patch) | |
tree | 572ef6b6967615cf3ec0d3722b3a027283b21731 /src/new_fields/Doc.ts | |
parent | d220b23867050fb6565fe639c3be28080f589aa2 (diff) |
a bunch of cleanup and bug fixes to text links and doculink buttons
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r-- | src/new_fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts index 6aad4a6be..3bf1129b5 100644 --- a/src/new_fields/Doc.ts +++ b/src/new_fields/Doc.ts @@ -669,8 +669,8 @@ export namespace Doc { return doc; } - export function LinkEndpoint(linkDoc: Doc, anchorDoc: Doc) { return Doc.AreProtosEqual(anchorDoc, Cast(linkDoc.anchor1, Doc) as Doc) ? "layoutKey1" : "layoutKey2"; } + export function LinkEndpoint(linkDoc: Doc, anchorDoc: Doc) { return Doc.AreProtosEqual(anchorDoc, Cast(linkDoc.anchor1, Doc) as Doc) ? "layoutKey1" : "layoutKey2"; } export function linkFollowUnhighlight() { Doc.UnhighlightAll(); document.removeEventListener("pointerdown", linkFollowUnhighlight); |