Skip to content

Commit

Permalink
force isViewerEmbed to true (legalthings/angular-pdfjs-viewer#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
julamb committed Apr 2, 2020
1 parent 75a54cc commit cd8a105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12869,7 +12869,7 @@ var PDFViewerApplication = {
renderInteractiveForms: false,
enablePrintAutoRotate: false
},
isViewerEmbedded: window.parent !== window,
isViewerEmbedded: true,
url: '',
baseUrl: '',
externalServices: DefaultExernalServices,
Expand Down

0 comments on commit cd8a105

Please sign in to comment.