diff options
Diffstat (limited to 'js/reader.js')
-rw-r--r-- | js/reader.js | 8 |
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"); |