diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 00:20:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 00:20:09 +0300 |
commit | bf1b89d0f1f430dcdda0879ebcf5e88f882c2ddd (patch) | |
tree | a750124016bfb05c838f7e4b8acf6839e9519db9 /include | |
parent | f661a37efa1be426e1e1d34630dd6da675be7cc8 (diff) |
enable c-up/down hotkeys even out of cdm
Diffstat (limited to 'include')
-rwxr-xr-x | include/functions.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/functions.php b/include/functions.php index 9125df3bd..a30a3cf4f 100755 --- a/include/functions.php +++ b/include/functions.php @@ -1249,10 +1249,8 @@ "^(191)|Ctrl+/" => "help_dialog", ); - if (get_pref('COMBINED_DISPLAY_MODE')) { - $hotkeys["^(38)|Ctrl-up"] = "prev_article_noscroll"; - $hotkeys["^(40)|Ctrl-down"] = "next_article_noscroll"; - } + $hotkeys["^(38)|Ctrl-up"] = "prev_article_noscroll"; + $hotkeys["^(40)|Ctrl-down"] = "next_article_noscroll"; foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_HOTKEY_MAP) as $plugin) { $hotkeys = $plugin->hook_hotkey_map($hotkeys); |