Simplify PDFViewerApplication::supportsPrinting (follow-up of #15894)
This commit is contained in:
parent
d6f63b5fb7
commit
8068dff9d1
@ -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…
x
Reference in New Issue
Block a user