1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

merged, linted

This commit is contained in:
fchasen 2014-10-30 09:51:46 -04:00
commit 0013cf417d
10 changed files with 68 additions and 40 deletions

View file

@ -128,7 +128,6 @@ EPUBJS.Paginate.prototype.registerLayoutMethod = function(view) {
EPUBJS.Paginate.prototype.page = function(pg){
this.currentPage = pg;
console.log("page", this.currentPage * this.formated.pageWidth)
this.renderer.infinite.scrollTo(this.currentPage * this.formated.pageWidth, 0);
//-- Return false if page is greater than the total
@ -144,5 +143,5 @@ EPUBJS.Paginate.prototype.prev = function(){
};
EPUBJS.Paginate.prototype.display = function(what){
return this.renderer.display(what)
return this.renderer.display(what);
};