]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: feedlist entry was marked incorrectly on update, fixed
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 Dec 2005 07:17:10 +0000 (08:17 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 Dec 2005 07:17:10 +0000 (08:17 +0100)
feedlist.js

index 5265266438061f7b82fb6dbf93eedc8dbd3c101a..8c9ca61d4056d3162e7a3ec4cd393643a77be093 100644 (file)
@@ -103,7 +103,7 @@ function viewfeed(feed, skip, subop, doc) {
                cleanSelectedList("feedList");
        
                var feedr = document.getElementById("FEEDR-" + feed);
-               if (feedr) {    
+               if (feedr && !feedr.className.match("Selected")) {      
                        feedr.className = feedr.className + "Selected";
                }