1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:15:55 +00:00

add hotkey (a N) to toggle night.css

This commit is contained in:
Andrew Dolgov
2018-12-09 21:17:50 +03:00
parent a5813bb766
commit 1c8593c1fa
13 changed files with 62 additions and 23 deletions

View File

@@ -466,6 +466,9 @@ require(["dojo/_base/kernel",
Feeds.reloadCurrent();
});
};
this.hotkey_actions["toggle_night_mode"] = function () {
App.toggleNightMode();
};
},
onActionSelected: function(opid) {
switch (opid) {