diff options
author | Andrew Dolgov <[email protected]> | 2017-03-03 17:30:36 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-03-03 17:30:36 +0300 |
commit | 53d62a4ec7c53d8e1a947dd4600d977e94cfee8d (patch) | |
tree | 25f333ebf02d789ef14a2b8bdd95ad1a1dba6650 /js/read.js | |
parent | 18fed64bcdee212a10fc3200807c12a19a40b936 (diff) |
night mode should apply to loading splash
Diffstat (limited to 'js/read.js')
-rw-r--r-- | js/read.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -164,14 +164,14 @@ function apply_night_mode() { window.book.setStyle("background", "black"); window.book.setStyle("color", "#ccc"); - $("body").css("background", "black"); + $("body").addClass("night"); } else { window.book.setStyle("background", "white"); window.book.setStyle("color", "black"); - $("body").css("background", "white"); + $("body").removeClass("night"); } }); } |