From 62f2d58fac691c35ee46d32e97bfd4123a20b31f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 May 2008 17:03:29 +0100 Subject: reinstate N & P shortcuts --- tt-rss.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index 6dd342745..6ed29b5a1 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'); -- cgit v1.2.3