aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-08-17 16:14:53 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-08-17 16:14:53 -0400
commitd3ecace5f03233e5d5ab2354c3f482418287ca9a (patch)
tree5d065abd9151d2588f14da387f0b8074afb70d0f /src/client/views/pdf/PDFViewer.tsx
parent7fe84ba95c30a082f5146e684d0c31b61ec676df (diff)
broken version
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index c9fee4813..1319a236d 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -424,10 +424,6 @@ export class PDFViewer extends React.Component<IViewerProps> {
// Changing which document to add the annotation to (the currently selected PDF)
GPTPopup.Instance.setSidebarId('data_sidebar');
- const anchor = this._getAnchor(undefined, false);
- if (anchor) {
- GPTPopup.Instance.setTargetAnchor(anchor);
- }
GPTPopup.Instance.addDoc = this.props.sidebarAddDoc;
};