diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/functions.js b/functions.js index 088b986ee..5bb559a72 100644 --- a/functions.js +++ b/functions.js @@ -261,6 +261,14 @@ function hotkey_handler(e) { if (new_feed) viewfeed(new_feed, ''); } + if (shift_key && (keycode == 78 || keycode == 40)) { // shift - n, down + return catchupRelativeToArticle(1); + } + + if (shift_key && (keycode == 80 || keycode == 38)) { // shift - p, up + return catchupRelativeToArticle(0); + } + if (keycode == 78 || keycode == 40) { // n, down if (typeof moveToPost != 'undefined') { return moveToPost('next'); |