summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-07-02 15:34:11 +0300
committerAndrew Dolgov <[email protected]>2018-07-02 15:34:11 +0300
commitcd20d425180b2d076b9cf93918b5e61e96a2f198 (patch)
tree2f1f0f5f313afdb51e0e9c66eed0d5357c6598f7
parent6a244552a58beafe64ab12142d5b98bec0c97c1b (diff)
only show UI if hidden when tapping content
-rw-r--r--js/reader.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/reader.js b/js/reader.js
index d3614aa..7178aec 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -19,11 +19,7 @@ $(document).ready(function() {
if ($(".modal").is(":visible"))
return;
- if (parent.$(".header").is(":visible")) {
- parent.show_ui(false);
- } else {
- parent.show_ui(true);
- }
+ parent.show_ui(true);
}
});