diff options
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -215,10 +215,8 @@ const App = { },
initNightMode: function() {
if (typeof EpubeApp != "undefined") {
- if (!EpubeApp.isAutoNightModeSupported()) {
- App.applyNightMode(EpubeApp.isNightMode());
- return;
- }
+ App.applyNightMode(EpubeApp.isNightMode());
+ return;
}
if (window.matchMedia) {
|