mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +02:00
Revert "Don't use window.print in the Firefox builtin viewer (bug 1774427)"
This commit is contained in:
parent
9bdcdeef67
commit
9ded9dd4e5
2 changed files with 1 additions and 9 deletions
|
@ -152,10 +152,6 @@ class DefaultExternalServices {
|
|||
|
||||
static reportTelemetry(data) {}
|
||||
|
||||
static print() {
|
||||
window.print();
|
||||
}
|
||||
|
||||
static createDownloadManager(options) {
|
||||
throw new Error("Not implemented: createDownloadManager");
|
||||
}
|
||||
|
@ -1901,7 +1897,7 @@ const PDFViewerApplication = {
|
|||
if (!this.supportsPrinting) {
|
||||
return;
|
||||
}
|
||||
this.externalServices.print();
|
||||
window.print();
|
||||
},
|
||||
|
||||
bindEvents() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue