summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-03-03 14:38:06 +0300
committerAndrew Dolgov <[email protected]>2017-03-03 14:38:06 +0300
commitd0bf32292a7713e896aa583cdfff27edc443d4bb (patch)
tree52352c603366c45527a3274176cbde448acff9ec /read.html
parentf2cdda952e70ef23db5d665314de1aa0b13e21d8 (diff)
Revert "use main splash for chapter loading"
This reverts commit d55f90eade4dd179e8c43014c4f04522dc37f9d3.
Diffstat (limited to 'read.html')
-rw-r--r--read.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/read.html b/read.html
index 4969137..d80b6eb 100644
--- a/read.html
+++ b/read.html
@@ -465,13 +465,15 @@
})
book.on("renderer:chapterUnloaded", function() {
- $(".loading_message").html("Loading...");
- $(".loading").show();
+ $(".notice").html("Loading...").show();
+
});
book.on("renderer:chapterDisplayed", function() {
- $(".loading").hide();
+ $(".notice").hide();
+ });
+ book.on("renderer:chapterDisplayed", function() {
$("#reader iframe")[0].contentWindow.onwheel = function(event) {
if (event.deltaY > 0) {