enable c-up/down hotkeys even out of cdm

This commit is contained in:
Andrew Dolgov 2018-12-01 00:20:09 +03:00
parent f661a37efa
commit bf1b89d0f1
1 changed files with 2 additions and 4 deletions

View File

@ -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);