summaryrefslogtreecommitdiff
path: root/js/read.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-02-26 13:28:58 +0300
committerAndrew Dolgov <[email protected]>2018-02-26 13:28:58 +0300
commit82e821c5b5495b8c9fc1e15cb11e3bbd5438eb36 (patch)
tree22589d060c3c5cfdac024a6e771306c464ca7836 /js/read.js
parentade92000ea4c7b05503211623b1672dc0c4b2ff1 (diff)
exp workaround: enable swipes after first touch event
Diffstat (limited to 'js/read.js')
-rw-r--r--js/read.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/read.js b/js/read.js
index 295a530..1965504 100644
--- a/js/read.js
+++ b/js/read.js
@@ -1,5 +1,6 @@
var _store_position = 0;
var _enable_fullscreen = 0;
+var _has_touch = 0;
function request_fullscreen() {
if (_enable_fullscreen)
@@ -100,6 +101,7 @@ $(document).ready(function() {
}
}
});
+
});
function apply_line_height(elem) {