aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samuel_wilkins@brown.edu>2019-06-17 13:38:15 -0400
committerSam Wilkins <samuel_wilkins@brown.edu>2019-06-17 13:38:15 -0400
commitde0304b2966ebdede9d9db8c510e19020046115c (patch)
tree43ff84d63818109ca7af8147e16e91f240465b8f /src/client/views/nodes/PDFBox.tsx
parenta3e1f7332e0cb96dae0abd80a2972ae74ac31104 (diff)
peripheral renaming fixes
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 aa29a7170..df9e49b64 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -257,7 +257,7 @@ export class PDFBox extends DocComponent<FieldViewProps, PdfDocument>(PdfDocumen
.then(action((dataUrl: string) => {
SearchBox.convertDataUri(dataUrl, "icon" + this.Document[Id] + "_" + this.curPage).then((returnedFilename) => {
if (returnedFilename) {
- let url = DocServer.prepend(returnedFilename);
+ let url = DocServer.Util.prepend(returnedFilename);
this.props.Document.thumbnail = new ImageField(new URL(url));
}
runInAction(() => this._renderAsSvg = true);