summaryrefslogtreecommitdiff
path: root/js/read.js
diff options
context:
space:
mode:
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) {