mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-29 05:17:11 +00:00
fix feedlist layout bug (take two) - remove unneeded CRs
This commit is contained in:
10
backend.php
10
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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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", "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user