Permalink
Browse files

Fixed an issue with reverse page turns

  • Loading branch information...
Matt Lantz
Matt Lantz committed Nov 26, 2012
2 parents d1f9122 + 9b064d7 commit 30bf7715b31ac1cd973e28b25c60c5f19a444d96
Showing with 7 additions and 3 deletions.
  1. +1 −1 build/alice.js
  2. +5 −1 build/alice.min.js
  3. +1 −1 src/alice.plugins.caterpillar.js
View
@@ -2546,7 +2546,7 @@ alice.plugins.caterpillar = (function () {
}else{
if(runState === "paused"){
alice.plugins.caterpillar.abPageTurnR(dets);
- document.getElementById(config.bookName).setAttribute('data-page-number', (pageNum-1));
+ document.getElementById(config.bookName).setAttribute('data-page-number', pageNum);
}
}
}else{
Oops, something went wrong.

0 comments on commit 30bf771

Please sign in to comment.