From bf1b89d0f1f430dcdda0879ebcf5e88f882c2ddd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Dec 2018 00:20:09 +0300 Subject: [PATCH] enable c-up/down hotkeys even out of cdm --- include/functions.php | 6 ++---- 1 file 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);