aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-18 12:57:36 -0400
committerbob <bcz@cs.brown.edu>2019-03-18 12:57:36 -0400
commitbe117e38a63a558684baa69f719787f11dfc3be3 (patch)
tree8275d70be6aa728de3fea9af76b9422464143227 /src/client/views/nodes/PDFBox.tsx
parent8acbb6e31d913982e06b8498078b90bf99c18600 (diff)
parent861614569c2d72e0ee9a6a698f3978f609a3b2bc (diff)
Merge branch 'master' into authentication
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index d29796f38..3a0ef2d32 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -97,7 +97,7 @@ export class PDFBox extends React.Component<FieldViewProps> {
this.saveThumbnail();
this._interactive = true;
} else {
- if (this.curPage)
+ if (this.curPage > 0)
this.initPage = true;
}
},