aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-07-14 23:35:46 -0400
committerGitHub <noreply@github.com>2019-07-14 23:35:46 -0400
commitd7c6f0da00d4ed56d28f679d6f7de1002684864a (patch)
tree24217f91f213e57c503d226bae1475acb84c6a1d /src/client/views/pdf/PDFViewer.tsx
parent104cb14c140c0da5f3013203d11b2a1963ae14c1 (diff)
parenta65e1f4af074beebb6a78861cf29ca25a2c59b28 (diff)
Merge pull request #205 from browngraphicslab/search_virt
Search virtualization
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 943454c33..01fd1c247 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -242,7 +242,7 @@ export class Viewer extends React.Component<IViewerProps> {
let mainAnnoDoc = Docs.Create.InstanceFromProto(new Doc(), "", {});
mainAnnoDoc.title = "Annotation on " + StrCast(this.props.parent.Document.title);
- mainAnnoDoc.pdfDoc = this.props.parent.Document;
+ mainAnnoDoc.pdfDoc = this.props.parent.props.Document;
let minY = Number.MAX_VALUE;
this._savedAnnotations.forEach((key: number, value: HTMLDivElement[]) => {
for (let anno of value) {