From 62f2d58fac691c35ee46d32e97bfd4123a20b31f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 May 2008 17:03:29 +0100 Subject: [PATCH] reinstate N & P shortcuts --- help/3.php | 3 +++ tt-rss.js | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/help/3.php b/help/3.php index 97f91439..d5c95c11 100644 --- a/help/3.php +++ b/help/3.php @@ -18,6 +18,9 @@ u T o + P + N +

diff --git a/tt-rss.js b/tt-rss.js index 6dd34274..6ed29b5a 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -1010,6 +1010,16 @@ function hotkey_handler(e) { return; } + if (shift_key && (keycode == 78 || keycode == 40)) { // shift - n, down + catchupRelativeToArticle(1); + return false; + } + + if (shift_key && (keycode == 80 || keycode == 38)) { // shift - p, up + catchupRelativeToArticle(0); + return false; + } + if (keycode == 78 || keycode == 40) { // n, down if (typeof moveToPost != 'undefined') { moveToPost('next'); -- 2.39.5