summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-26 05:39:20 +0100
committerAndrew Dolgov <[email protected]>2005-08-26 05:39:20 +0100
commit431ade558046103654783cc96a02befd73f11bf5 (patch)
treeb35100ec7dd1312c314fde98cd116011bfb370af /tt-rss.js
parentb5daec986cf9f10c953af6e0fb1bdda91a41b0a5 (diff)
reset active_post_id on offset change
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 8d289967f..1ab5ecb5d 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -262,8 +262,9 @@ function viewfeed(feed, skip, subop) {
return
}
- if (active_feed_id != feed)
+ if (active_feed_id != feed || skip != active_offset) {
active_post_id = false;
+ }
active_feed_id = feed;
active_offset = skip;