From 8068dff9d153d7196ccc2f70adbde6b3f5824954 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Wed, 11 Jan 2023 12:33:33 +0100 Subject: [PATCH] Simplify PDFViewerApplication::supportsPrinting (follow-up of #15894) --- web/app.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/app.js b/web/app.js index b57c73d780192..684f29bfb5b61 100644 --- a/web/app.js +++ b/web/app.js @@ -702,10 +702,7 @@ const PDFViewerApplication = { }, get supportsPrinting() { - return ( - (typeof PDFJSDev === "undefined" || !PDFJSDev.test("GECKOVIEW")) && - PDFPrintServiceFactory.instance.supportsPrinting - ); + return PDFPrintServiceFactory.instance.supportsPrinting; }, get supportsFullscreen() {