summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-03-03 12:57:46 +0300
committerAndrew Dolgov <[email protected]>2017-03-03 12:57:46 +0300
commitd55f90eade4dd179e8c43014c4f04522dc37f9d3 (patch)
tree0dfd864b6f436c256a480d576ebcd3061658fbc8
parent86d02c4cba89dc158437573574309ff5ab56af1d (diff)
use main splash for chapter loading
-rw-r--r--read.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/read.html b/read.html
index 93d12c3..749e26a 100644
--- a/read.html
+++ b/read.html
@@ -416,15 +416,13 @@
})
book.on("renderer:chapterUnloaded", function() {
- $(".notice").html("Loading...").show();
-
+ $(".loading_message").html("Loading...");
+ $(".loading").show();
});
book.on("renderer:chapterDisplayed", function() {
- $(".notice").hide();
- });
+ $(".loading").hide();
- book.on("renderer:chapterDisplayed", function() {
$("#reader iframe")[0].contentWindow.onwheel = function(event) {
if (event.deltaY > 0) {