From 27b118dc21be0b3f582d529846986b719c832761 Mon Sep 17 00:00:00 2001 From: Sumedha Pramod Date: Thu, 17 Aug 2017 10:38:19 -0700 Subject: [PATCH] Fix: Pass in the correct previousPage() for DocBaseViewer.pageControls (#318) --- src/lib/viewers/doc/DocBaseViewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/viewers/doc/DocBaseViewer.js b/src/lib/viewers/doc/DocBaseViewer.js index 0944fd15d..e0fd215e2 100644 --- a/src/lib/viewers/doc/DocBaseViewer.js +++ b/src/lib/viewers/doc/DocBaseViewer.js @@ -696,7 +696,7 @@ class DocBaseViewer extends BaseViewer { */ loadUI() { this.controls = new Controls(this.containerEl); - this.pageControls = new PageControls(this.controls, this.prevPage, this.nextPage); + this.pageControls = new PageControls(this.controls, this.previousPage, this.nextPage); this.bindControlListeners(); }