summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-12 09:26:29 +0100
committerAndrew Dolgov <[email protected]>2008-05-12 09:26:29 +0100
commitff284aa0b824cd294f8806ce193b37b7e6009163 (patch)
tree12f4921cea24f28afdc49f58b098b7e4faceb633 /functions.js
parenta9a3fcabcee5926ec6a95288bb057d450aef0f13 (diff)
compat theme: properly reflow container height
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js8
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');