From ff284aa0b824cd294f8806ce193b37b7e6009163 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 May 2008 09:26:29 +0100 Subject: compat theme: properly reflow container height --- functions.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions.js') 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'); -- cgit v1.2.3