mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
fix for resolve url
This commit is contained in:
parent
c29e5f84ee
commit
1a89a9c3ff
4 changed files with 5 additions and 7 deletions
3
dist/epub.js
vendored
3
dist/epub.js
vendored
|
@ -4723,7 +4723,7 @@ EPUBJS.core.resolveUrl = function(base, path) {
|
||||||
directories.pop();
|
directories.pop();
|
||||||
segments.unshift(part);
|
segments.unshift(part);
|
||||||
} else {
|
} else {
|
||||||
segments.push(part);
|
segments.unshift(part);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -6717,7 +6717,6 @@ EPUBJS.View.prototype.layout = function() {
|
||||||
console.error("View not shown");
|
console.error("View not shown");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Apply Changes
|
// Apply Changes
|
||||||
this.resizing = true;
|
this.resizing = true;
|
||||||
this.iframe.style.height = bounds.height + "px";
|
this.iframe.style.height = bounds.height + "px";
|
||||||
|
|
2
dist/epub.min.js
vendored
2
dist/epub.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -283,7 +283,7 @@ EPUBJS.core.resolveUrl = function(base, path) {
|
||||||
directories.pop();
|
directories.pop();
|
||||||
segments.unshift(part);
|
segments.unshift(part);
|
||||||
} else {
|
} else {
|
||||||
segments.push(part);
|
segments.unshift(part);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,6 @@ EPUBJS.View.prototype.layout = function() {
|
||||||
console.error("View not shown");
|
console.error("View not shown");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Apply Changes
|
// Apply Changes
|
||||||
this.resizing = true;
|
this.resizing = true;
|
||||||
this.iframe.style.height = bounds.height + "px";
|
this.iframe.style.height = bounds.height + "px";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue