diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2008-05-17 17:03:29 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2008-05-17 17:03:29 +0100 |
| commit | 62f2d58fac691c35ee46d32e97bfd4123a20b31f (patch) | |
| tree | 72d6a56e5355b25e9d70899ad854e2975fbd8f7a | |
| parent | 314fcd2bfdc42bef86ff479d720d7e9352612ce8 (diff) | |
reinstate N & P shortcuts
| -rw-r--r-- | help/3.php | 3 | ||||
| -rw-r--r-- | tt-rss.js | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/help/3.php b/help/3.php index 97f91439c..d5c95c11f 100644 --- a/help/3.php +++ b/help/3.php @@ -18,6 +18,9 @@ <tr><td class='n'>u</td><td><?php echo __("Toggle unread") ?></td></tr> <tr><td class='n'>T</td><td><?php echo __("Edit tags") ?></td></tr> <tr><td class='n'>o</td><td><?php echo __("Open article in new window") ?></td></tr> + <tr><td class='n'>P</td><td><?php echo __("Mark articles above active as read") ?></td></tr> + <tr><td class='n'>N</td><td><?php echo __("Mark articles below active as read") ?></td></tr> + </table> <h2><?php echo __("Other actions") ?></h2> @@ -1010,6 +1010,16 @@ function hotkey_handler(e) { return; } + if (shift_key && (keycode == 78 || keycode == 40)) { // shift - n, down + catchupRelativeToArticle(1); + return false; + } + + if (shift_key && (keycode == 80 || keycode == 38)) { // shift - p, up + catchupRelativeToArticle(0); + return false; + } + if (keycode == 78 || keycode == 40) { // n, down if (typeof moveToPost != 'undefined') { moveToPost('next'); |