aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-03 23:50:22 -0400
committerbobzel <zzzman@gmail.com>2020-08-03 23:50:22 -0400
commit3bbabb64695650fc632fdf88286094f457adb838 (patch)
tree9a5be71c2d518e5404f811cd6f937ff831776c5e /src/client/views/pdf/PDFViewer.tsx
parent17cc7ae30f08e00c10398214070b5664ad221a03 (diff)
starting to cleanup search
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 7ab2876da..7f31931a9 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -329,10 +329,7 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu
}
@action
prevAnnotation = () => {
- console.log(this.Index);
this.Index = Math.max(this.Index - 1, 0);
- console.log(this.Index);
- console.log(this.allAnnotations);
this.scrollToAnnotation(this.allAnnotations.sort((a, b) => NumCast(a.y) - NumCast(b.y))[this.Index]);
}