viewfeed: only focus headlines tab when offset == 0
This commit is contained in:
parent
b3e8867c65
commit
0612ce2388
|
@ -66,8 +66,9 @@ 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);
|
||||||
|
|
||||||
dijit.byId("content-tabs").selectChild(
|
if (offset == 0)
|
||||||
dijit.byId("content-tabs").getChildren()[0]);
|
dijit.byId("content-tabs").selectChild(
|
||||||
|
dijit.byId("content-tabs").getChildren()[0]);
|
||||||
|
|
||||||
var force_nocache = false;
|
var force_nocache = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue