aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkEditor.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-10 10:59:58 -0400
committerbobzel <zzzman@gmail.com>2020-09-10 10:59:58 -0400
commit75fa8e7e798566962d88fc3012c41c3179580e39 (patch)
tree801fd607e0ed6a5b0083ec1899567f59406336e7 /src/client/views/linking/LinkEditor.tsx
parent075b626e1eab5d2852d5157c4105e3110e4fe7e4 (diff)
fixed following links on text hyperlink to use same code as linkMenu. fixed hyperlink delete button
Diffstat (limited to 'src/client/views/linking/LinkEditor.tsx')
-rw-r--r--src/client/views/linking/LinkEditor.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/linking/LinkEditor.tsx b/src/client/views/linking/LinkEditor.tsx
index d6c3702d1..3713a1026 100644
--- a/src/client/views/linking/LinkEditor.tsx
+++ b/src/client/views/linking/LinkEditor.tsx
@@ -420,7 +420,7 @@ export class LinkEditor extends React.Component<LinkEditorProps> {
}
render() {
- const destination = LinkManager.Instance.getOppositeAnchor(this.props.linkDoc, this.props.sourceDoc);
+ const destination = LinkManager.getOppositeAnchor(this.props.linkDoc, this.props.sourceDoc);
const groups = [this.props.linkDoc].map(groupDoc => {
return <LinkGroupEditor key={"gred-" + StrCast(groupDoc.linkRelationship)} linkDoc={this.props.linkDoc}