Skip to content

Commit

Permalink
fixes regression for paginationInfo getter function in highlights plu…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Sep 8, 2017
1 parent 05be48d commit efa5ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/highlights/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ function($, _, Class, HighlightHelpers, HighlightGroup) {

var offset;
if (this.context.isRTL && !this.context.isVerticalWritingMode) {
offset = -this.context.paginationInfo.pageOffset;
offset = -this.context.paginationInfo().pageOffset;
} else {
offset = this.context.paginationInfo.pageOffset;
offset = this.context.paginationInfo().pageOffset;
}

if (this.context.isVerticalWritingMode) {
Expand Down
2 changes: 1 addition & 1 deletion readium-cfi-js
Submodule readium-cfi-js updated 1 files
+75 −10 yarn.lock

0 comments on commit efa5ea5

Please sign in to comment.