mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-02 14:49:16 +02:00
Added resize observer polyfill
This commit is contained in:
parent
6b16ebe9d0
commit
5b44f59604
4 changed files with 5758 additions and 1447 deletions
|
@ -343,7 +343,7 @@ class Rendition {
|
|||
onResized(size){
|
||||
|
||||
if(this.location) {
|
||||
this.display(this.location.start);
|
||||
this.display(this.location.start.cfi);
|
||||
}
|
||||
|
||||
this.emit("resized", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue