Merge pull request #15914 from calixteman/15894_followup
Simplify PDFViewerApplication::supportsPrinting (follow-up of #15894)
This commit is contained in:
commit
633d5e7af0
@ -702,10 +702,7 @@ const PDFViewerApplication = {
|
||||
},
|
||||
|
||||
get supportsPrinting() {
|
||||
return (
|
||||
(typeof PDFJSDev === "undefined" || !PDFJSDev.test("GECKOVIEW")) &&
|
||||
PDFPrintServiceFactory.instance.supportsPrinting
|
||||
);
|
||||
return PDFPrintServiceFactory.instance.supportsPrinting;
|
||||
},
|
||||
|
||||
get supportsFullscreen() {
|
||||
|
Loading…
Reference in New Issue
Block a user