mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Merge pull request #485 from futurepress/tabify
Tabify epub.js src and tests
This commit is contained in:
commit
8dd67cc167
31 changed files with 7759 additions and 7758 deletions
3
dist/epub.js
vendored
3
dist/epub.js
vendored
|
@ -5527,7 +5527,7 @@ Book.prototype.open = function(_url, options){
|
||||||
if (window && window.location && uri) {
|
if (window && window.location && uri) {
|
||||||
absoluteUri = uri.absoluteTo(window.location.href);
|
absoluteUri = uri.absoluteTo(window.location.href);
|
||||||
this.url = absoluteUri.toString();
|
this.url = absoluteUri.toString();
|
||||||
} if (window && window.location) {
|
} else if (window && window.location) {
|
||||||
this.url = window.location.href;
|
this.url = window.location.href;
|
||||||
} else {
|
} else {
|
||||||
this.url = _url;
|
this.url = _url;
|
||||||
|
@ -6378,6 +6378,7 @@ Contents.prototype.columns = function(width, height, columnWidth, gap){
|
||||||
this.css("overflowY", "hidden");
|
this.css("overflowY", "hidden");
|
||||||
this.css("margin", "0");
|
this.css("margin", "0");
|
||||||
this.css("boxSizing", "border-box");
|
this.css("boxSizing", "border-box");
|
||||||
|
this.css("maxWidth", "inherit");
|
||||||
|
|
||||||
this.css(COLUMN_AXIS, "horizontal");
|
this.css(COLUMN_AXIS, "horizontal");
|
||||||
this.css(COLUMN_FILL, "auto");
|
this.css(COLUMN_FILL, "auto");
|
||||||
|
|
2
dist/epub.js.map
vendored
2
dist/epub.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue