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'); diff --git a/functions.php b/functions.php index cb07c987e..1b92f9440 100644 --- a/functions.php +++ b/functions.php @@ -3870,7 +3870,6 @@
  • ".__('Mark as read:')."
  •   ".__('Selection')."
  • "; - /* if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { print " @@ -3900,62 +3899,10 @@ } print ""; - -/* print " - "; - } - - if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { - print " -
  •  
  • -
  • - - ".__('Convert to label').""; - } */ - - print ""; + print ""; } else { - // old style subtoolbar: + // old style subtoolbar: print "". __('Select:')." @@ -3983,34 +3930,10 @@ } } else { // dashboard menu actions - print " - "; - - print ""; - + // not implemented + print ""; } -/* if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { - print " - - ".__('Convert to Label').""; -} */ - print ""; print "