Skip to content

Commit

Permalink
Fix: Pass in the correct previousPage() for DocBaseViewer.pageControls (
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum authored Aug 17, 2017
1 parent efaa385 commit 27b118d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/viewers/doc/DocBaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 27b118d

Please sign in to comment.