From 45ce79df00cafe732d69d615fc210fadaaf6744d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Jan 2018 13:03:34 +0300 Subject: add disable swipes options --- js/read.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/read.js') 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) { -- cgit v1.2.3