]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix feedlist layout bug (take two) - remove unneeded CRs
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Feb 2006 10:22:59 +0000 (11:22 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Feb 2006 10:22:59 +0000 (11:22 +0100)
backend.php
functions.js

index b843aabb0797b52ca7cc8bcc08ed7f968dcc1482..76564fb7d9576433456077149f4889fbc0d71939 100644 (file)
                        /* virtual feeds */
 
                        if (get_pref($link, 'ENABLE_FEED_CATS')) {
-                               print "<li class=\"feedCat\">Special</li>\n";
-                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
+                               print "<li class=\"feedCat\">Special</li>";
+                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
                        }
 
                        $result = db_query($link, "SELECT count(id) as num_starred 
                
                                if (db_num_rows($result) > 0) {
                                        if (get_pref($link, 'ENABLE_FEED_CATS')) {
-                                               print "<li class=\"feedCat\">Labels</li>\n";
-                                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
+                                               print "<li class=\"feedCat\">Labels</li>";
+                                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
                                        } else {
-                                               print "<li><hr></li>\n";
+                                               print "<li><hr></li>";
                                        }
                                }
                
index 6330c2861a8cb15d524c9820025690cce6d4ea44..8d59bd32100fb34d4f0853882a341f22dee8f5ff 100644 (file)
@@ -165,7 +165,7 @@ function cleanSelectedList(element) {
                        if (child.id == "feedCatHolder") {
                                var fcat = child.lastChild;
                                for (j = 0; j < fcat.childNodes.length; j++) {
-                                       var feed = fcat.childNodes[j];
+                                       var feed = fcat.childNodes[j];                                  
                                        feed.className = feed.className.replace("Selected", "");
                                }               
                        }