summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-06-29 14:58:52 +0300
committerAndrew Dolgov <[email protected]>2018-06-29 14:58:52 +0300
commit888365e2e44845485af8ae50dc3163e919fc3a63 (patch)
treebe5b42344c9a24ff41e184394ec9a51e520e417f /js
parent2ec9a469649636c54977e9e1bfa04a493813b1a2 (diff)
add resized handler
Diffstat (limited to 'js')
-rw-r--r--js/read.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/js/read.js b/js/read.js
index 555d9a1..469ccf5 100644
--- a/js/read.js
+++ b/js/read.js
@@ -103,22 +103,6 @@ function hotkey_handler(e) {
$(document).ready(function() {
document.onkeydown = hotkey_handler;
- $(window).on("orientationchange", function(evt) {
- console.log("orientationchange");
-
- $(".loading").show();
- $(".loading_message").html("Opening chapter...");
-
- window.setTimeout(function() {
- open_lastread();
-
- window.setTimeout(function() {
- $(".loading").hide();
- }, 500);
-
- }, 1000);
- });
-
$(window).on("mouseup", function(evt) {
if (evt.button == 0) {