Stay on the same page in single view mode when using 'v' keyboard shortcut

This commit is contained in:
Frederic Guillot 2017-03-06 18:33:15 -05:00
parent dc6ec50806
commit 07f3ae0a7b
2 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -188,8 +188,11 @@ Miniflux.Event = (function() {
case 118:
if (currentItem) {
Miniflux.Item.OpenOriginal(currentItem);
if (document.querySelectorAll('article.item') > 1) {
Miniflux.Nav.SelectNextItem();
}
}
break;
case 'o':
case 111: