]> git.wh0rd.org Git - tt-rss.git/commitdiff
enable c-up/down hotkeys even out of cdm
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 21:20:09 +0000 (00:20 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 21:20:09 +0000 (00:20 +0300)
include/functions.php

index 9125df3bd8a367cd65cca22d4be2596d67cc77b1..a30a3cf4f0e08ccc63b035a5cff46705c80e8e28 100755 (executable)
                        "^(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);