1
0
Fork 0
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:
fchasen 2017-05-12 13:34:25 -04:00
parent 8cd4108c52
commit 176125e46b
5 changed files with 8 additions and 6 deletions

View file

@ -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;