diff options
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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; |