1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00
This commit is contained in:
Fred Chasen 2016-10-24 14:55:32 +02:00
commit f6247e5612
2 changed files with 2 additions and 1 deletions

View file

@ -98,7 +98,7 @@ Book.prototype.open = function(_url, options){
if (window && window.location && uri) {
absoluteUri = uri.absoluteTo(window.location.href);
this.url = absoluteUri.toString();
} if (window && window.location) {
} else if (window && window.location) {
this.url = window.location.href;
} else {
this.url = _url;

View file

@ -600,6 +600,7 @@ Contents.prototype.columns = function(width, height, columnWidth, gap){
this.css("overflowY", "hidden");
this.css("margin", "0");
this.css("boxSizing", "border-box");
this.css("maxWidth", "inherit");
this.css(COLUMN_AXIS, "horizontal");
this.css(COLUMN_FILL, "auto");