mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Updated URL parsing to handle remote book paths
This commit is contained in:
parent
b6b48e0b08
commit
fe8edc77c1
3 changed files with 34 additions and 9 deletions
|
@ -79,7 +79,7 @@
|
|||
var currentSection;
|
||||
var currentSectionIndex = 7;
|
||||
|
||||
var book = ePub("../books/moby-dick/OPS/package.opf");
|
||||
var book = ePub("https://s3.amazonaws.com/moby-dick/OPS/package.opf");
|
||||
book.loaded.navigation.then(function(nav){
|
||||
var toc = nav.get();
|
||||
var $select = document.getElementById("toc"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue