viewfeed: only select first tab when request is not background

This commit is contained in:
Andrew Dolgov 2011-12-10 21:42:15 +04:00
parent e331188f76
commit 17eb362b96

View file

@ -100,7 +100,7 @@ function viewfeed(feed, subop, is_cat, offset, background, infscrol_req) {
}
}
if (offset == 0)
if (offset == 0 && !background)
dijit.byId("content-tabs").selectChild(
dijit.byId("content-tabs").getChildren()[0]);