From e885d7dca34c8156a585416460e690bc5803f4fd Mon Sep 17 00:00:00 2001 From: Jeremy Press Date: Thu, 28 Feb 2019 11:25:32 -0800 Subject: [PATCH] Chore: PR feedback --- src/lib/viewers/doc/PresentationViewer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/viewers/doc/PresentationViewer.js b/src/lib/viewers/doc/PresentationViewer.js index 4eeca7de1..e9578dfd4 100644 --- a/src/lib/viewers/doc/PresentationViewer.js +++ b/src/lib/viewers/doc/PresentationViewer.js @@ -276,6 +276,8 @@ class PresentationViewer extends DocBaseViewer { */ overwritePdfViewerBehavior() { // Overwrite scrollPageIntoView for presentations since we have custom pagination behavior + // This override is needed to allow PDF.js to change pages when clicking on links in a presentation that + // navigate to other pages this.pdfViewer.scrollPageIntoView = (pageObj) => { if (!this.loaded) { return;