diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-30 15:35:07 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-30 15:35:07 -0400 |
| commit | 37741c2f1f594f41b2d157a9f48843a4f16fc18b (patch) | |
| tree | 150217d41a84e98d5b3e80c6713df8c1689c2507 /src/client/views/nodes/LinkAnchorBox.tsx | |
| parent | 58f83cc1eef844420e5b418011231f995c9cf043 (diff) | |
fixed following summary to open new tab in place. merged link follow code
Diffstat (limited to 'src/client/views/nodes/LinkAnchorBox.tsx')
| -rw-r--r-- | src/client/views/nodes/LinkAnchorBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkAnchorBox.tsx b/src/client/views/nodes/LinkAnchorBox.tsx index 10b6aa02e..ec8c43ab4 100644 --- a/src/client/views/nodes/LinkAnchorBox.tsx +++ b/src/client/views/nodes/LinkAnchorBox.tsx @@ -73,7 +73,7 @@ export class LinkAnchorBox extends ViewBoxBaseComponent<FieldViewProps, LinkAnch anchorContainerDoc && this.props.bringToFront(anchorContainerDoc, false); if (anchorContainerDoc && !this.layoutDoc.onClick && !this._isOpen) { this._timeout = setTimeout(action(() => { - DocumentManager.Instance.FollowLink(this.rootDoc, anchorContainerDoc, document => this.props.addDocTab(document, StrCast(this.layoutDoc.linkOpenLocation, "add:right")), false); + DocumentManager.Instance.FollowLink(this.rootDoc, anchorContainerDoc, (doc, where) => this.props.addDocTab(doc, where), false); this._editing = false; }), 300 - (Date.now() - this._lastTap)); } |
