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:
parent
ac08fe0fba
commit
673e5e83dc
4 changed files with 24 additions and 19 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue