summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reader.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/reader.js b/js/reader.js
index 64f0d36..769c4cc 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -27,16 +27,12 @@ const Reader = {
if (typeof EpubeApp != "undefined") {
EpubeApp.setPage("PAGE_READER");
- }
-
- Reader.applyTheme();
- /* global Cookie */
-
- if (Cookie.get("is-epube-app") == "true") {
$("body").addClass("is-epube-app");
}
+ Reader.applyTheme();
+
$(window).on('online', function() {
console.log("we're online, storing lastread");