]> git.wh0rd.org Git - tt-rss.git/commitdiff
up/down arrows are hotkeys in feedlist
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 Nov 2005 05:55:06 +0000 (06:55 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 Nov 2005 05:55:06 +0000 (06:55 +0100)
viewfeed.js

index 459434839366de2ff32c4fac0df1f32fe1e5675b..9d42b9102c4272c186e92ac1fdc8aa5e600a1466 100644 (file)
@@ -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');
        }