]> git.wh0rd.org Git - tt-rss.git/commitdiff
reset active_post_id on offset change
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 26 Aug 2005 04:39:20 +0000 (05:39 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 26 Aug 2005 04:39:20 +0000 (05:39 +0100)
tt-rss.js

index 8d289967f81c904836e08ade13f7277120d62d3c..1ab5ecb5ddd468c0e6fc9344ed9aba9b2a61984e 100644 (file)
--- 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;