Update the mobile-viewer
example to use the new PDFHistory.initialize
format (PR 10423 follow-up)
This commit is contained in:
parent
d614cabfa0
commit
f06b2e4e9f
@ -78,7 +78,7 @@ var PDFViewerApplication = {
|
||||
self.pdfDocument = pdfDocument;
|
||||
self.pdfViewer.setDocument(pdfDocument);
|
||||
self.pdfLinkService.setDocument(pdfDocument);
|
||||
self.pdfHistory.initialize(pdfDocument.fingerprint);
|
||||
self.pdfHistory.initialize({ fingerprint: pdfDocument.fingerprint, });
|
||||
|
||||
self.loadingBar.hide();
|
||||
self.setTitleUsingMetadata(pdfDocument);
|
||||
|
Loading…
Reference in New Issue
Block a user