Skip to content

Commit f913fc6

Browse files

File tree

2 files changed

+202
-199
lines changed

2 files changed

+202
-199
lines changed

web/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ const PDFViewerApplication = {
10511051
this.pdfDocument = null;
10521052

10531053
this.pdfThumbnailViewer?.setDocument(null);
1054-
this.pdfViewer.setDocument(null);
1054+
await this.pdfViewer.setDocument(null);
10551055
this.pdfLinkService.setDocument(null);
10561056
this.pdfDocumentProperties?.setDocument(null);
10571057
}

0 commit comments

Comments
 (0)