update epub.js
This commit is contained in:
parent
a0b66637d1
commit
3226fc969d
1 changed files with 16 additions and 8 deletions
|
@ -11,24 +11,32 @@
|
|||
<link rel="stylesheet" href="/static/epub.js/css/normalize.css">
|
||||
<link rel="stylesheet" href="/static/epub.js/css/main.css">
|
||||
<link rel="stylesheet" href="/static/epub.js/css/popup.css">
|
||||
<style>
|
||||
.arrow {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-o-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: text;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="/static/epub.js/libs/jquery-2.1.0.min.js"></script>
|
||||
|
||||
<script src="/static/epub.js/libs/zip.min.js"></script>
|
||||
<script src="/static/epub.js/libs/zip.min.js"></script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
|
||||
document.onreadystatechange = function () {
|
||||
var reader;
|
||||
document.onreadystatechange = function () {
|
||||
if (document.readyState == "complete") {
|
||||
EPUBJS.filePath = "/static/epub.js/libs/";
|
||||
EPUBJS.cssPath = "/static/epub.js/css/";
|
||||
// fileStorage.filePath = EPUBJS.filePath;
|
||||
|
||||
var reader = ePubReader(document.location.pathname.replace(/\/reader\//, '/epub/'));
|
||||
}
|
||||
reader = ePubReader(document.location.pathname.replace(/\/reader\//, '/epub/'));
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<!-- Render -->
|
||||
|
@ -103,7 +111,7 @@
|
|||
<div id="viewer"></div>
|
||||
<div id="next" class="arrow">›</div>
|
||||
|
||||
<div id="loader"><img src="img/loader.gif"></div>
|
||||
<div id="loader"><img src="/static/epub.js/img/loader.gif"></div>
|
||||
</div>
|
||||
<div class="modal md-effect-1" id="settings-modal">
|
||||
<div class="md-content">
|
||||
|
|
Loading…
Reference in a new issue