summaryrefslogtreecommitdiff
path: root/js/read.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-01-25 13:03:34 +0300
committerAndrew Dolgov <[email protected]>2018-01-25 13:03:34 +0300
commit45ce79df00cafe732d69d615fc210fadaaf6744d (patch)
tree1cb3b5b48d53574fcc9e24aafb538e6cfa9c2151 /js/read.js
parent7d748ca94cf15af46ebc2a3c0a738e850a3a9987 (diff)
add disable swipes options
Diffstat (limited to 'js/read.js')
-rw-r--r--js/read.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/read.js b/js/read.js
index e028229..0852d0a 100644
--- a/js/read.js
+++ b/js/read.js
@@ -208,6 +208,10 @@ function toggle_transitions(elem) {
localforage.setItem("epube.disable-transitions", elem.checked);
}
+function toggle_swipes(elem) {
+ localforage.setItem("epube.disable-swipes", elem.checked);
+}
+
function dict_lookup(word, callback) {
$.post("backend.php", {op: 'define', word: word}, function(data) {
if (data) {