mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
add orientation change listener
This commit is contained in:
parent
519c0f26d3
commit
6f35ee9964
12 changed files with 16 additions and 12 deletions
File diff suppressed because one or more lines are too long
3
reader/js/epub.min.js
vendored
3
reader/js/epub.min.js
vendored
|
@ -6009,7 +6009,8 @@ EPUBJS.Renderer.prototype.initialize = function(element, width, height){
|
|||
} else {
|
||||
this.render.resize('100%', '100%');
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener("orientationchange", this.onResized);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue