aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
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;
};