Skip to content

Commit

Permalink
ereader bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Spinelli committed Oct 22, 2011
1 parent f0753a0 commit 71d5272
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/ereader/index.html
Expand Up @@ -101,6 +101,8 @@
ereader.slider.removeChild(container);

ereader.updatePageCount(pages.length);
ereader.masterPages[0].dataset.pageIndex = pages.length-1;
ereader.masterPages[0].dataset.upcomingPageIndex = ereader.masterPages[0].dataset.pageIndex;

// Load initial data
for (i=0; i<3; i++) {
Expand Down

0 comments on commit 71d5272

Please sign in to comment.