aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-09-17 19:47:05 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-09-17 19:47:05 -0400
commit3e6f24e4ac4a4b64620d8c9f614f214f8f1c7b94 (patch)
treea42f9535bd97f11babeb87b8bd6d631244a459c8 /src/client/views/pdf
parent1310633790e3db50a31a1cc6d357306d7884a053 (diff)
cleanup for animating document icon collapse/expand - still need to fix for docs without native dimensions. lots of lint fixes.
Diffstat (limited to 'src/client/views/pdf')
-rw-r--r--src/client/views/pdf/Annotation.tsx2
-rw-r--r--src/client/views/pdf/PDFViewer.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index eeb2531a2..34e3b0931 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -58,7 +58,7 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
runInAction(() => this._brushed = brushed);
}
}
- )
+ );
}
componentWillUnmount() {
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 7bc1d3507..c508935f2 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -81,7 +81,7 @@ export class PDFViewer extends React.Component<IViewerProps> {
return annotations.filter(anno => {
let run = this._script.run({ this: anno });
return run.success ? run.result : true;
- })
+ });
}
@computed get nonDocAnnotations() {