summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js
index 7f4fd82..246eb7d 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -349,12 +349,16 @@ const Reader = {
});
localforage.getItem("epube.keep-ui-visible").then(function(keep) {
- $(".keep_ui_checkbox")
+ if (typeof EpubeApp != "undefined") {
+ $(".keep_ui_checkbox").parent().parent().hide();
+ } else {
+ $(".keep_ui_checkbox")
.attr("checked", keep)
.off("click")
.on("click", function(evt) {
localforage.setItem("epube.keep-ui-visible", evt.target.checked);
});
+ }
});
localforage.getItem("epube.enable-column-hacks").then(function(enable) {