mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-02 14:49:16 +02:00
Update core.prefix
This commit is contained in:
parent
8cd4108c52
commit
176125e46b
5 changed files with 8 additions and 6 deletions
|
@ -18,7 +18,7 @@
|
|||
<a id="next" href="#next" class="arrow">›</a>
|
||||
|
||||
<script>
|
||||
var params = new URLSearchParams(document.location.search.substring(1));
|
||||
var params = URLSearchParams && new URLSearchParams(document.location.search.substring(1));
|
||||
var url = params && params.get("url") && decodeURIComponent(params.get("url"));
|
||||
var currentSectionIndex = (params && params.get("loc")) ? params.get("loc") : 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue