diff options
author | Andrew Dolgov <[email protected]> | 2008-05-12 09:26:29 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-12 09:26:29 +0100 |
commit | ff284aa0b824cd294f8806ce193b37b7e6009163 (patch) | |
tree | 12f4921cea24f28afdc49f58b098b7e4faceb633 /functions.js | |
parent | a9a3fcabcee5926ec6a95288bb057d450aef0f13 (diff) |
compat theme: properly reflow container height
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'); |