From f06b2e4e9fccace5711d51a45b8de033fadec190 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Wed, 23 Jan 2019 15:27:19 +0100 Subject: [PATCH] Update the `mobile-viewer` example to use the new `PDFHistory.initialize` format (PR 10423 follow-up) --- examples/mobile-viewer/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mobile-viewer/viewer.js b/examples/mobile-viewer/viewer.js index 5a28dd401..ab88f54b2 100644 --- a/examples/mobile-viewer/viewer.js +++ b/examples/mobile-viewer/viewer.js @@ -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);