mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Simplify PDFViewerApplication::supportsPrinting (follow-up of #15894)
This commit is contained in:
parent
d6f63b5fb7
commit
8068dff9d1
1 changed files with 1 additions and 4 deletions
|
@ -702,10 +702,7 @@ const PDFViewerApplication = {
|
||||||
},
|
},
|
||||||
|
|
||||||
get supportsPrinting() {
|
get supportsPrinting() {
|
||||||
return (
|
return PDFPrintServiceFactory.instance.supportsPrinting;
|
||||||
(typeof PDFJSDev === "undefined" || !PDFJSDev.test("GECKOVIEW")) &&
|
|
||||||
PDFPrintServiceFactory.instance.supportsPrinting
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
get supportsFullscreen() {
|
get supportsFullscreen() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue