summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 155fdd841..cc563449a 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -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();