diff options
-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", ""); } } |