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

Fix bota for non-latin, fix webkit locationOf

This commit is contained in:
Fred Chasen 2017-09-11 18:59:28 -07:00
parent ac08fe0fba
commit 673e5e83dc
4 changed files with 24 additions and 19 deletions

View file

@ -357,16 +357,16 @@ class Rendition {
*/
onResized(size){
if (this.location && this.location.start) {
// this.manager.clear();
this.display(this.location.start.cfi);
}
this.emit("resized", {
width: size.width,
height: size.height
});
if (this.location && this.location.start) {
// this.manager.clear();
this.display(this.location.start.cfi);
}
}
/**