Update the mobile-viewer example to use the new PDFHistory.initialize format (PR 10423 follow-up)

This commit is contained in:
Jonas Jenwald 2019-01-23 15:27:19 +01:00
parent d614cabfa0
commit f06b2e4e9f

View File

@ -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);