summaryrefslogtreecommitdiff
path: root/js/read.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-03-03 15:28:35 +0300
committerAndrew Dolgov <[email protected]>2017-03-03 15:28:35 +0300
commit0397083213f30945324b91395caa7d07318bad00 (patch)
treec7f21cab9ab072c96b075227eae70b7abe9fd5b4 /js/read.js
parente83fa4cf569cf32e4878bcb85370f1f164e3eafc (diff)
add option to disable page transitions
Diffstat (limited to 'js/read.js')
-rw-r--r--js/read.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/read.js b/js/read.js
index 8b9d270..e87b0f8 100644
--- a/js/read.js
+++ b/js/read.js
@@ -202,4 +202,6 @@ function search() {
}
}
-
+function toggle_transitions(elem) {
+ localforage.setItem("epube.disable-transitions", elem.checked);
+}