viewfeed: only focus headlines tab when offset == 0

This commit is contained in:
Andrew Dolgov 2011-09-21 09:41:06 +04:00
parent b3e8867c65
commit 0612ce2388
1 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,7 @@ function viewfeed(feed, subop, is_cat, offset, background) {
else
cached_headlines = cache_get("feed:" + feed + ":" + is_cat);
if (offset == 0)
dijit.byId("content-tabs").selectChild(
dijit.byId("content-tabs").getChildren()[0]);