summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-10 21:42:15 +0400
committerAndrew Dolgov <[email protected]>2011-12-10 21:42:15 +0400
commit17eb362b96ca3394cecab722a037d53acb062a8c (patch)
tree647d1eb79ab34812ef7079ec389bfb8d2b7f49f2
parente331188f761669785024bc0f76debb904a1b6210 (diff)
viewfeed: only select first tab when request is not background
-rw-r--r--feedlist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js
index c117b66e9..9b9ca927f 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -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]);