Skip to content

Commit

Permalink
New: add annotation-noicon to allow native PDF annotations to be shown (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press committed Jul 31, 2017
1 parent b8c776d commit 4de1259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/viewers/doc/DocBaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ class DocBaseViewer extends BaseViewer {
const { size, extension, watermark_info: watermarkInfo } = file;
const assetUrlCreator = createAssetUrlCreator(location);
PDFJS.workerSrc = assetUrlCreator(`third-party/doc/${DOC_STATIC_ASSETS_VERSION}/pdf.worker.min.js`);
PDFJS.imageResourcesPath = assetUrlCreator(`third-party/doc/${DOC_STATIC_ASSETS_VERSION}/images/`);
PDFJS.cMapUrl = `${location.staticBaseURI}third-party/doc/${DOC_STATIC_ASSETS_VERSION}/cmaps/`;
PDFJS.cMapPacked = true;

Expand Down
1 change: 1 addition & 0 deletions src/third-party/doc/0.130.0/images/annotation-noicon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4de1259

Please sign in to comment.