From df7d3d18b60830e0453a6907856a51893c603964 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 29 Feb 2020 08:33:09 +0100 Subject: [PATCH] pdf reader --- cps/static/js/libs/viewer.js | 2 +- cps/templates/readpdf.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cps/static/js/libs/viewer.js b/cps/static/js/libs/viewer.js index 1adf130b..fb215f7e 100644 --- a/cps/static/js/libs/viewer.js +++ b/cps/static/js/libs/viewer.js @@ -4372,7 +4372,7 @@ var defaultOptions = { kind: OptionKind.WORKER }, workerSrc: { - value: '../build/pdf.worker.js', + value: '../../../static/js/libs/pdf.worker.js', kind: OptionKind.WORKER } }; diff --git a/cps/templates/readpdf.html b/cps/templates/readpdf.html index 3e74a5a3..b4987e72 100644 --- a/cps/templates/readpdf.html +++ b/cps/templates/readpdf.html @@ -34,9 +34,7 @@ See https://github.com/adobe-type-tools/cmap-resources - - - + - + + +