We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd85e3 commit 4b93424Copy full SHA for 4b93424
src/pdfjs-viewer-element.ts
@@ -43,7 +43,7 @@ export class PdfjsViewerElement extends HTMLElement {
43
44
setViewerOptions() {
45
const locale = this.getAttribute("locale");
46
- if (locale) this.iframe.contentWindow?.PDFViewerApplicationOptions.set('locale', locale)
+ if (locale)
47
}
48
49
0 commit comments