fix feedlist layout bug (take two) - remove unneeded CRs
This commit is contained in:
parent
140ff9db5a
commit
937881b5f2
2 changed files with 6 additions and 6 deletions
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", "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue