aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-06-27 11:52:26 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-06-27 11:52:26 -0400
commitcb9a1b6419bd0932ad05bd517efa4be668682540 (patch)
treeb904bd76e990d10a43555a57e24cdba1e1c18535 /src
parenteb9448e37be256b1c554be68cfb43dd7da44b0af (diff)
Changed search thing and hopefully fixed memory error
Diffstat (limited to 'src')
-rw-r--r--src/client/views/search/SearchItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx
index 5082f9623..5160d9469 100644
--- a/src/client/views/search/SearchItem.tsx
+++ b/src/client/views/search/SearchItem.tsx
@@ -87,7 +87,7 @@ export class SearchItem extends React.Component<SearchItemProps> {
@observable _selected: boolean = false;
onClick = () => {
- CollectionDockingView.Instance.AddRightSplit(this.props.doc, undefined);
+ DocumentManager.Instance.jumpToDocument(this.props.doc, false);
}
@computed