]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: only select first tab when request is not background
authorAndrew Dolgov <fox@fakecake.org>
Sat, 10 Dec 2011 17:42:15 +0000 (21:42 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Sat, 10 Dec 2011 17:42:15 +0000 (21:42 +0400)
feedlist.js

index c117b66e9b1b878d34861bea2692c5358d7afcfb..9b9ca927f2faf58ecd50299acefdd82f0f711245 100644 (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]);