1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:35:57 +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

@@ -132,6 +132,8 @@ 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);
}