Skip to content

Commit

Permalink
stephanrauh/ngx-extended-pdf-viewer#1059 fix the "Window is not defin…
Browse files Browse the repository at this point in the history
…ed" bug
  • Loading branch information
stephanrauh committed Dec 4, 2021
1 parent 3721a4d commit b8356eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdf.sandbox.external.js
Expand Up @@ -64,7 +64,7 @@ class SandboxSupportBase {
args = this.exportValueToSandbox(args);
this.commFun(name, args);
} catch (e) {
this.win.Window['ngxConsole'].error(e);
this.win.console.error(e);
}
}

Expand Down

0 comments on commit b8356eb

Please sign in to comment.