diff options
| author | bob <bcz@cs.brown.edu> | 2019-06-21 13:13:18 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-06-21 13:13:18 -0400 |
| commit | 542501fc3247dafa5879482f62a28147ec4b3793 (patch) | |
| tree | 2c302de41cb1216297d35ec0a37e8f8067f21523 /src/client/views/nodes/FormattedTextBox.tsx | |
| parent | 5483c3353b99e7993f358e3d212b1717bf21fec6 (diff) | |
lots more template stuff.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index f59af226d..39444fd6a 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -270,7 +270,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe this._linkClicked = href.replace(DocServer.prepend("/doc/"), "").split("?")[0]; if (this._linkClicked) { DocServer.GetRefField(this._linkClicked).then(f => { - (f instanceof Doc) && DocumentManager.Instance.jumpToDocument(f, ctrlKey, document => this.props.addDocTab(document, "inTab")); + (f instanceof Doc) && DocumentManager.Instance.jumpToDocument(f, ctrlKey, document => this.props.addDocTab(document, document, "inTab")); }); e.stopPropagation(); e.preventDefault(); |
