fixes incorrect pageIndex when navigating links
MODIFY
js/views/cfi_navigation_logic.js
js/views/cfi_navigation_logic.js
@@ -219,6 +219,11 @@ var CfiNavigationLogic = function(options) {
top: (options.paginationInfo ? options.paginationInfo.pageOffset : 0),
left: 0
};
+ } else {
+ return {
+ top: 0,
+ left: (options.paginationInfo ? options.paginationInfo.pageOffset : 0)
+ };
}
return {

fixes https://github.com/readium/readium-shared-js/issues/384 incorrect pageIndex when navigating links