diff options
author | Andrew Dolgov <[email protected]> | 2006-02-24 11:22:59 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-02-24 11:22:59 +0100 |
commit | 937881b5f2f1c5264f1767ccca7b8d6ba126700f (patch) | |
tree | 13f658ab507dd09905745e89e364d6b17782f0aa | |
parent | 140ff9db5aea4169ee6af41542d6337b5bb03ec6 (diff) |
fix feedlist layout bug (take two) - remove unneeded CRs
-rw-r--r-- | backend.php | 10 | ||||
-rw-r--r-- | functions.js | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/backend.php b/backend.php index b843aabb0..76564fb7d 100644 --- a/backend.php +++ b/backend.php @@ -371,8 +371,8 @@ /* 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 @@ -400,10 +400,10 @@ 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>"; } } diff --git a/functions.js b/functions.js index 6330c2861..8d59bd321 100644 --- a/functions.js +++ b/functions.js @@ -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", ""); } } |