Select next unread item when opening current item

Fixes #629: After using keyboard hotkey (j, k) to navigate to a story on the
unread list and opening the story with "v",  the next unread item is now
selected so that the current position won't be lost and the user doesn't have
to start from the top of the list again.
This commit is contained in:
Alexander Steinhöfer 2017-01-27 08:35:00 +01:00
parent f1883273b6
commit 9dcd43a994
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -182,6 +182,7 @@ Miniflux.Event = (function() {
case 118: case 118:
if (currentItem) { if (currentItem) {
Miniflux.Item.OpenOriginal(currentItem); Miniflux.Item.OpenOriginal(currentItem);
Miniflux.Nav.SelectNextItem();
} }
break; break;
case 'o': case 'o':