]> git.wh0rd.org - tt-rss.git/commitdiff
reset active_post_id on feed change
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 23 Aug 2007 06:01:25 +0000 (07:01 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 23 Aug 2007 06:01:25 +0000 (07:01 +0100)
feedlist.js

index 04fab589f7ba36dd83c9a64b84c0eca7d333a915..4946d7fc97ce299066e345deffb5fef6a5c27803 100644 (file)
@@ -68,6 +68,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
 
                if (getActiveFeedId() != feed) {
                        feed_cur_page = 0;
+                       active_post_id = 0;
                }
 
                enableHotkeys();