summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-01-25 18:52:21 +0300
committerAndrew Dolgov <[email protected]>2018-01-25 18:52:21 +0300
commitf0deb0736294d72c5edc38d2569c59eb2cac67ab (patch)
tree9e384468528bb60d83131dc51dc9903e991de297 /read.html
parentf11c22169f9468ddb2dcdfa51da7327d91d35396 (diff)
fullscreen (not working)
Diffstat (limited to 'read.html')
-rw-r--r--read.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/read.html b/read.html
index 0c09b88..2a0b437 100644
--- a/read.html
+++ b/read.html
@@ -75,6 +75,12 @@
type="checkbox"> Disable swipes
</label>
</div>
+ <div class="checkbox">
+ <label>
+ <input class="fullscreen_checkbox"
+ type="checkbox"> Request fullscreen mode
+ </label>
+ </div>
</div>
</div>
@@ -447,6 +453,14 @@
});
});
+ localforage.getItem("epube.enable-fullscreen").then(function(enable) {
+ $(".fullscreen_checkbox")
+ .attr("checked", enable)
+ .on("click", function() {
+ localforage.setItem("epube.enable-fullscreen", this.checked);
+ });
+ });
+
localforage.getItem("epube.fontFamily").then(function(font) {
if (!font) font = DEFAULT_FONT_FAMILY;