mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 19:21:28 +00:00
check for invalid active_post_id in moveToPost
This commit is contained in:
@@ -169,6 +169,10 @@ function moveToPost(mode) {
|
||||
var prev_id;
|
||||
var next_id;
|
||||
|
||||
if (!document.getElementById('RROW-' + active_post_id)) {
|
||||
active_post_id = false;
|
||||
}
|
||||
|
||||
if (active_post_id == false) {
|
||||
next_id = getFirstVisibleHeadlineId();
|
||||
prev_id = getLastVisibleHeadlineId();
|
||||
|
||||
Reference in New Issue
Block a user