From 9922d56bbebb29d3ae1fe13e7b6df7f0c9376841 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 May 2008 05:09:04 +0100 Subject: [PATCH] reset counters_last_request in viewfeed() --- feedlist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feedlist.js b/feedlist.js index 6e8b7d68..e3e2cda3 100644 --- a/feedlist.js +++ b/feedlist.js @@ -8,6 +8,7 @@ var mouse_y = 0; var mouse_x = 0; var resize_enabled = false; +var counters_last_request = 0; function viewCategory(cat) { active_feed_is_cat = true; @@ -46,6 +47,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { // if (!offset) page_offset = 0; last_requested_article = 0; + counters_last_request = 0; if (feed == getActiveFeedId()) { cache_invalidate("F:" + feed); @@ -523,7 +525,6 @@ function request_counters_real() { } } -var counters_last_request = 0; function request_counters() { -- 2.39.5