summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-09 21:17:50 +0300
committerAndrew Dolgov <[email protected]>2018-12-09 21:17:50 +0300
commit1c8593c1fa68cd5287c975bb8ef96efce4edbbab (patch)
tree19deb4ac6fbbfe70f13611323c40bc0da65acb23 /js/tt-rss.js
parenta5813bb76699978fcaf7909796b1fbd953a4975b (diff)
add hotkey (a N) to toggle night.css
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index ed194c702..7cb4832eb 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -466,6 +466,9 @@ require(["dojo/_base/kernel",
Feeds.reloadCurrent();
});
};
+ this.hotkey_actions["toggle_night_mode"] = function () {
+ App.toggleNightMode();
+ };
},
onActionSelected: function(opid) {
switch (opid) {