From: Andrew Dolgov Date: Wed, 16 Nov 2005 05:55:06 +0000 (+0100) Subject: up/down arrows are hotkeys in feedlist X-Git-Tag: schema_feature_freeze_for_1.1~303 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e28f43f9657b61bb79380abca3a72f525211c152;p=tt-rss.git up/down arrows are hotkeys in feedlist --- diff --git a/viewfeed.js b/viewfeed.js index 45943483..9d42b910 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -177,11 +177,11 @@ function viewfeed(id) { function localHotkeyHandler(keycode) { - if (keycode == 78) { // n + if (keycode == 78 || keycode == 40) { // n, down return moveToPost('next'); } - if (keycode == 80) { // p + if (keycode == 80 || keycode == 38) { // p, up return moveToPost('prev'); }