diff options
author | Andrew Dolgov <[email protected]> | 2019-12-12 20:09:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-12-12 20:09:43 +0300 |
commit | 0237dee980157554ab2c9a79b6e9d10cec9e2f3a (patch) | |
tree | 8b06bde8a95a70b9e61f9d2fb37c117ad089ed63 /js/prefs.js | |
parent | 9c0235ab66b28f987a53d3858983f81f4d4894a3 (diff) |
implement automatic night mode detection using MQL
add separate light.css to force light theme
remove manual night mode toggle and related code
Diffstat (limited to 'js/prefs.js')
-rwxr-xr-x | js/prefs.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/prefs.js b/js/prefs.js index 844ce8c8a..1b32c65cb 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -142,8 +142,6 @@ require(["dojo/_base/kernel", case "help_dialog": App.helpDialog("main"); return false; - case "toggle_night_mode": - App.toggleNightMode(); default: console.log("unhandled action: " + action_name + "; keycode: " + event.which); } |