summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-10-13 10:45:10 +0400
committerAndrew Dolgov <[email protected]>2011-10-13 10:45:10 +0400
commitd36d86b9af996f5ebba0df79a3b1b2ba411efc55 (patch)
tree74056b74142c476b701a68a0684dabe569526c87 /viewfeed.js
parent81f6a572561238bcb7dde8d5a77467cc3920cfb6 (diff)
fix loading more headlines into wrong buffer
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js3
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");