diff options
author | bobzel <zzzman@gmail.com> | 2020-12-16 16:53:05 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-16 16:53:05 -0500 |
commit | 3484b7d92dfedf6319a0047f16bb0ce9cd59a625 (patch) | |
tree | 7e2efde630f185d33e13ec76e4731ee4536334df /src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | |
parent | 8c7b7fd42ba03da2c7e9133268b5f2b403cfa4fc (diff) |
cleaned up some link following code. fixed problem following links from LinkAnchorBox's
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx index c6be25dc2..038a91aa3 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx @@ -116,7 +116,7 @@ export class FormattedTextBoxComment { textBox.props.addDocTab(linkDoc, e.ctrlKey ? "add" : "add:right"); } else { const target = LinkManager.getOppositeAnchor(linkDoc, textBox.dataDoc); - target && DocumentView.followLinkClick(linkDoc, textBox.dataDoc, textBox.props, e.altKey); + target && LinkManager.FollowLink(linkDoc, textBox.dataDoc, textBox.props, e.altKey); } } } |