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/tt-rss.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/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index b127376c7..5e044625d 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -513,9 +513,6 @@ require(["dojo/_base/kernel", Headlines.renderAgain(); }); }; - this.hotkey_actions["toggle_night_mode"] = function () { - App.toggleNightMode(); - }; }, onActionSelected: function(opid) { switch (opid) { @@ -581,9 +578,6 @@ require(["dojo/_base/kernel", alert(__("Widescreen is not available in combined mode.")); } break; - case "qmcToggleNightMode": - App.toggleNightMode(); - break; case "qmcHKhelp": App.helpDialog("main"); break; |