diff --git a/web/app.js b/web/app.js index 45c9db49d..6670b3430 100644 --- a/web/app.js +++ b/web/app.js @@ -1310,7 +1310,7 @@ let PDFViewerApplication = { } }, - afterPrint: function pdfViewSetupAfterPrint() { + afterPrint() { if (this.printService) { this.printService.destroy(); this.printService = null;