diff options
author | Andrew Dolgov <[email protected]> | 2018-12-09 21:17:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-09 21:17:50 +0300 |
commit | 1c8593c1fa68cd5287c975bb8ef96efce4edbbab (patch) | |
tree | 19deb4ac6fbbfe70f13611323c40bc0da65acb23 /js/prefs.js | |
parent | a5813bb76699978fcaf7909796b1fbd953a4975b (diff) |
add hotkey (a N) to toggle night.css
Diffstat (limited to 'js/prefs.js')
-rwxr-xr-x | js/prefs.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/prefs.js b/js/prefs.js index afbdee0c9..58a59fc24 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -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); } |