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:
commit
0013cf417d
10 changed files with 68 additions and 40 deletions
|
@ -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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue