var _infscroll_disable = 0;
var _infscroll_request_sent = 0;
+var _infscroll_tmp_disable = 0;
+
var _search_query = false;
var _viewfeed_last = 0;
var _viewfeed_timeout = false;
function loadMoreHeadlines() {
try {
- console.log("loadMoreHeadlines");
+ console.log("loadMoreHeadlines: " + _infscroll_tmp_disable);
+
+ if (_infscroll_tmp_disable) return;
var offset = 0;
reply = JSON.parse(transport.responseText);
var batch = reply.ids;
+ _infscroll_tmp_disable = 1;
+
batch.each(function(id) {
console.log(id);
var elem = $("RROW-" + id);
catchup_id_batch.remove(id);
});
+ _infscroll_tmp_disable = 0;
+
updateFloatingTitle(true);
} });