summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-01-25 19:33:06 +0300
committerAndrew Dolgov <[email protected]>2018-01-25 19:33:06 +0300
commit5d82b0dffa2b8328515540658e4fdf3478ec7dfd (patch)
treeaf93a5f22ed7e23076aa8c23a3d1ac8873486ad8 /read.html
parentf0deb0736294d72c5edc38d2569c59eb2cac67ab (diff)
add fullscreen mode (enabled in options)
Diffstat (limited to 'read.html')
-rw-r--r--read.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/read.html b/read.html
index 2a0b437..d9d1783 100644
--- a/read.html
+++ b/read.html
@@ -354,6 +354,10 @@
init_taps();
document.onkeydown = hotkey_handler;
+ localforage.getItem("epube.enable-fullscreen").then(function(enable) {
+ _enable_fullscreen = 1;
+ });
+
EPUBJS.Hooks.register("beforeChapterDisplay").swipeDetection = function(callback, renderer) {
var baseUrl = window.location.href.match(/^.*\//)[0];