diff options
author | Andrew Dolgov <[email protected]> | 2011-10-13 10:45:10 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-10-13 10:45:10 +0400 |
commit | d36d86b9af996f5ebba0df79a3b1b2ba411efc55 (patch) | |
tree | 74056b74142c476b701a68a0684dabe569526c87 /viewfeed.js | |
parent | 81f6a572561238bcb7dde8d5a77467cc3920cfb6 (diff) |
fix loading more headlines into wrong buffer
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js index 040ea1d8e..c5a896aa6 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -82,7 +82,8 @@ function headlines_callback2(transport, offset, background) { initHeadlinesMenu(); } else { - if (headlines_count > 0) { + + if (headlines_count > 0 && feed_id == getActiveFeedId() && is_cat == activeFeedIsCat()) { console.log("adding some more headlines..."); var c = dijit.byId("headlines-frame"); |