mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
viewfeed: only focus headlines tab when offset == 0
This commit is contained in:
@@ -66,6 +66,7 @@ function viewfeed(feed, subop, is_cat, offset, background) {
|
|||||||
else
|
else
|
||||||
cached_headlines = cache_get("feed:" + feed + ":" + is_cat);
|
cached_headlines = cache_get("feed:" + feed + ":" + is_cat);
|
||||||
|
|
||||||
|
if (offset == 0)
|
||||||
dijit.byId("content-tabs").selectChild(
|
dijit.byId("content-tabs").selectChild(
|
||||||
dijit.byId("content-tabs").getChildren()[0]);
|
dijit.byId("content-tabs").getChildren()[0]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user