1
0
Fork 0
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:
Fred Chasen 2014-09-26 08:17:00 -04:00
parent 519c0f26d3
commit 6f35ee9964
12 changed files with 16 additions and 12 deletions

File diff suppressed because one or more lines are too long

View file

@ -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