1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 11:55:57 +00:00

reinstate N & P shortcuts

This commit is contained in:
Andrew Dolgov
2008-05-17 17:03:29 +01:00
parent 314fcd2bfd
commit 62f2d58fac
2 changed files with 13 additions and 0 deletions

View File

@@ -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');