aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-07-27 13:23:42 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-07-27 13:23:42 -0400
commitfec79d2b5b8feb361e489c9ee41ee720507d0806 (patch)
treefcb4378efe4fda3e05322561f25641c57d1f19d4 /src/client/views/pdf/PDFViewer.tsx
parent0ca5a86e6f9ff85a32de109105b241d613aae326 (diff)
changes
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 4fc31ffe3..1d1c34f4f 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -425,8 +425,7 @@ export class PDFViewer extends React.Component<IViewerProps> {
GPTPopup.Instance.setSidebarId('data_sidebar');
const anchor = this._getAnchor(undefined, false);
if (anchor) {
- console.log(anchor);
- GPTPopup.Instance.setPdfAnchor(anchor);
+ GPTPopup.Instance.setTargetAnchor(anchor);
}
GPTPopup.Instance.addDoc = this.props.sidebarAddDoc;
};