From 0612ce23881b280beb8001b85d7d98bb81e040da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Sep 2011 09:41:06 +0400 Subject: [PATCH] viewfeed: only focus headlines tab when offset == 0 --- feedlist.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/feedlist.js b/feedlist.js index 54ecb895..70639a8e 100644 --- a/feedlist.js +++ b/feedlist.js @@ -66,8 +66,9 @@ function viewfeed(feed, subop, is_cat, offset, background) { else cached_headlines = cache_get("feed:" + feed + ":" + is_cat); - dijit.byId("content-tabs").selectChild( - dijit.byId("content-tabs").getChildren()[0]); + if (offset == 0) + dijit.byId("content-tabs").selectChild( + dijit.byId("content-tabs").getChildren()[0]); var force_nocache = false; -- 2.39.5