1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:35:55 +00:00

correct headlines scroll position in moveToPost()

This commit is contained in:
Andrew Dolgov
2007-05-16 04:36:40 +01:00
parent b07b61da01
commit ac162cbe5a
2 changed files with 41 additions and 9 deletions

View File

@@ -252,13 +252,13 @@ function hotkey_handler(e) {
if (new_feed) viewfeed(new_feed, '');
}
if (!is_safari() && (keycode == 78 || keycode == 40)) { // n, down
if (keycode == 78 || keycode == 40) { // n, down
if (typeof moveToPost != 'undefined') {
return moveToPost('next');
}
}
if (!is_safari() && (keycode == 80 || keycode == 38)) { // p, up
if (keycode == 80 || keycode == 38) { // p, up
if (typeof moveToPost != 'undefined') {
return moveToPost('prev');
}