Use shorthand method signature for afterPrint in web/app.js

This commit is contained in:
Priestch 2019-08-24 17:48:33 +08:00
parent edbebb8bf7
commit 000780d27e

View File

@ -1310,7 +1310,7 @@ let PDFViewerApplication = {
}
},
afterPrint: function pdfViewSetupAfterPrint() {
afterPrint() {
if (this.printService) {
this.printService.destroy();
this.printService = null;