diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-06-28 21:51:44 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-06-28 21:51:44 -0400 |
commit | a446286326e04dc5c3958d157cc9120603d42b76 (patch) | |
tree | ea9f4b4b2da01a208bb52f0c1a04b8f3479e711c /src/client/views/nodes/FormattedTextBox.tsx | |
parent | f9ec2ee53e6d19d02f0a6706470e05ed563d08bf (diff) | |
parent | 6b9131637c242dafba429460f5d1bf2aa31e136f (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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 ba6808737..07cd43ce3 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -281,7 +281,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, false, document => this.props.addDocTab(document, document, "inTab")); + (f instanceof Doc) && DocumentManager.Instance.jumpToDocument(f, ctrlKey, false, document => this.props.addDocTab(document, undefined, "inTab")); }); e.stopPropagation(); e.preventDefault(); |