diff --git a/feedlist.js b/feedlist.js index 70639a8e7..d8dc551d8 100644 --- a/feedlist.js +++ b/feedlist.js @@ -13,6 +13,8 @@ function viewCategory(cat) { function loadMoreHeadlines() { try { + console.log("loadMoreHeadlines"); + var offset = 0; var view_mode = document.forms["main_toolbar_form"].view_mode.value; 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");