aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LinkBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-03-28 12:59:35 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-03-28 12:59:35 -0400
commitfddd13da196a26affe61b30d93a3fe1b24f391a6 (patch)
treea28175619afaf14b83c98fc6282419f1d1a2c82d /src/client/views/nodes/LinkBox.tsx
parentcbf88ae3466e17fef57c7d63cc72ee42b75ccce6 (diff)
works better with prototypes and links
Diffstat (limited to 'src/client/views/nodes/LinkBox.tsx')
-rw-r--r--src/client/views/nodes/LinkBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx
index 457fecee3..e81f8fec7 100644
--- a/src/client/views/nodes/LinkBox.tsx
+++ b/src/client/views/nodes/LinkBox.tsx
@@ -45,7 +45,7 @@ export class LinkBox extends React.Component<Props> {
} else {
this.props.pairedDoc.GetAsync(KeyStore.AnnotationOn, (contextDoc: any) => {
if (!contextDoc) {
- CollectionDockingView.Instance.AddRightSplit(this.props.pairedDoc);
+ CollectionDockingView.Instance.AddRightSplit(this.props.pairedDoc.MakeDelegate());
} else if (contextDoc instanceof Document) {
this.props.pairedDoc.GetTAsync(KeyStore.Page, NumberField).then((pfield: any) => {
contextDoc.GetTAsync(KeyStore.CurPage, NumberField).then((cfield: any) => {