Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 9fc47d0

Browse files
author
Alexander Peinsipp
committed
Fixed IE11 Problem - webViewerLoad needs an empty string. Update dist
1 parent 609593e commit 9fc47d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/angular-pdfjs-viewer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
this.disableWorker = function(value) {
3434
if (typeof value === 'undefined') value = true;
3535
config.disableWorker = value;
36-
}
36+
};
3737

3838
this.setVerbosity = function(level) {
3939
config.verbosity = level;
@@ -394,7 +394,7 @@
394394
}
395395

396396
// initialize the pdf viewer with (with empty source)
397-
window.PDFJS.webViewerLoad();
397+
window.PDFJS.webViewerLoad("");
398398

399399
function onPdfInit() {
400400
initialised = true;

0 commit comments

Comments
 (0)