update epub.js

This commit is contained in:
j 2015-11-19 18:40:33 +01:00
parent a0b66637d1
commit 3226fc969d

View file

@ -11,6 +11,16 @@
<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>
@ -18,17 +28,15 @@
<script>
"use strict";
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">