mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Tidy up Locations
This commit is contained in:
parent
ef2a0771c6
commit
6b16ebe9d0
3 changed files with 21 additions and 52 deletions
|
@ -69,7 +69,6 @@
|
|||
|
||||
rendition.on("keyup", keyListener);
|
||||
document.addEventListener("keyup", keyListener, false);
|
||||
|
||||
|
||||
book.ready.then(function(){
|
||||
// Load in stored locations from json or local storage
|
||||
|
@ -81,7 +80,7 @@
|
|||
// Or generate the locations on the fly
|
||||
// Can pass an option number of chars to break sections by
|
||||
// default is 150 chars
|
||||
return book.locations.generate(600);
|
||||
return book.locations.generate(1600);
|
||||
}
|
||||
})
|
||||
.then(function(locations){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue