aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Page.tsx
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-07-30 11:44:19 -0400
committerab <abdullah_ahmed@brown.edu>2019-07-30 11:44:19 -0400
commitd58d66f29eae28ac8244f8c2bcaa423e0aa99743 (patch)
tree6a34daa4fd4111470763f6b5c215c95fcd254f52 /src/client/views/pdf/Page.tsx
parent38b5d646e62535504eb8667b840bf36cd7f2f6d8 (diff)
parentca91fe9e379fe3e2d48a0eb055415f008245ed31 (diff)
merged
Diffstat (limited to 'src/client/views/pdf/Page.tsx')
-rw-r--r--src/client/views/pdf/Page.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/Page.tsx b/src/client/views/pdf/Page.tsx
index c205617b4..c5b2a1dda 100644
--- a/src/client/views/pdf/Page.tsx
+++ b/src/client/views/pdf/Page.tsx
@@ -175,7 +175,7 @@ export default class Page extends React.Component<IPageProps> {
}
let pdfDoc = await Cast(annotationDoc.pdfDoc, Doc);
if (pdfDoc) {
- DocUtils.MakeLink(annotationDoc, targetDoc, undefined, `Annotation from ${StrCast(pdfDoc.title)}`, "", StrCast(pdfDoc.title));
+ DocUtils.MakeLink(annotationDoc, targetDoc, dragData.targetContext, `Annotation from ${StrCast(pdfDoc.title)}`, "", StrCast(pdfDoc.title));
}
}
}