mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-09 19:15:42 +02:00
Mark latest post as read when clicking on right arrow shortcut
Signed-off-by: Artem Lavrukhin <lavryha4590@gmail.com>
This commit is contained in:
parent
6f1a506bbd
commit
9fb9a4c6da
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user