From 000780d27e9b92b3f50af0cd4d9ddb1a6649173a Mon Sep 17 00:00:00 2001
From: Priestch <priestch@gmail.com>
Date: Sat, 24 Aug 2019 17:48:33 +0800
Subject: [PATCH] Use shorthand method signature for `afterPrint` in
 `web/app.js`

---
 web/app.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;