summaryrefslogtreecommitdiff
path: root/js/read.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-06-29 09:37:16 +0300
committerAndrew Dolgov <[email protected]>2018-06-29 09:37:16 +0300
commitd681640140604d15ef20825a2453c7918e0a02e9 (patch)
treeadea63de9d7a36aabd4791164a01a66c74cd4da1 /js/read.js
parent80a289489d3c57efe6e33129841ae248f7409923 (diff)
initial for epubjs v0.3
Diffstat (limited to 'js/read.js')
-rw-r--r--js/read.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/read.js b/js/read.js
index 39d7929..9708d06 100644
--- a/js/read.js
+++ b/js/read.js
@@ -56,14 +56,14 @@ function open_lastread() {
function next_page() {
_store_position = 1;
- window.book.nextPage();
+ window.book.rendition.next();
show_ui(false);
request_fullscreen();
}
function prev_page() {
- window.book.prevPage();
+ window.book.rendition.prev();
show_ui(false);
request_fullscreen();
@@ -276,7 +276,7 @@ function apply_theme() {
$("#theme_css").attr("href", theme_url);
- $(book.renderer.doc).find("#theme_css").text(_res_data[theme_url]);
+ //$(book.renderer.doc).find("#theme_css").text(_res_data[theme_url]);
});
}