summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--js/gui/KeyboardShortcuts.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8e77ddbd..161abd71a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ The format is almost based on [Keep a Changelog](https://keepachangelog.com/en/1
- Updated "New Folder" and "All articles" icons to differentiate them from "Subscribe" and "All articles".
### Fixed
+- Mark the latest post in a feed as read when clicking on the right arrow key.
# Releases
## [16.2.0] - 2021-10-18
diff --git a/js/gui/KeyboardShortcuts.js b/js/gui/KeyboardShortcuts.js
index 092968450..b6310fef5 100644
--- a/js/gui/KeyboardShortcuts.js
+++ b/js/gui/KeyboardShortcuts.js
@@ -288,6 +288,8 @@
var nextElement = activeElement.next();
if (nextElement.length > 0) {
scrollToItem(scrollArea, nextElement, expandItemInCompact);
+ } else if (nextElement.length === 0) {
+ activeElement.find('.utils').trigger('click');
} else {
// in case this is the last item it should still scroll below
// the