aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-18 10:28:43 -0400
committerbob <bcz@cs.brown.edu>2019-03-18 10:28:43 -0400
commitd5304e13839830c60c0c5698849535b0605e3c32 (patch)
treed9d4df5261d8f13a68c999822f03fa0ed78983c9 /src/client/views/nodes/PDFBox.tsx
parent5be91465a7d534587a483d5631df705468910839 (diff)
fixed drag drop and loading of pdfs
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 b0b5a63a4..b9d260380 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -96,7 +96,7 @@ export class PDFBox extends React.Component<FieldViewProps> {
this.saveThumbnail();
this._interactive = true;
} else {
- if (this.curPage)
+ if (this.curPage > 0)
this.initPage = true;
}
},