diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 51c2dd17e..8e003e5a9 100644 --- a/functions.php +++ b/functions.php @@ -3420,10 +3420,12 @@ } if ($collapsed == "t" || $collapsed == "1") { - $holder_class = "invisible"; + $holder_class = "feedCatHolder"; + $holder_style = "display:none;"; $ellipsis = "..."; } else { $holder_class = "feedCatHolder"; + $holder_style = ""; $ellipsis = ""; } @@ -3442,7 +3444,7 @@ // !!! NO SPACE before <ul...feedCatList - breaks firstChild DOM function // -> keyboard navigation, etc. - print "<li id=\"feedCatHolder\" class=\"$holder_class\"><ul class=\"feedCatList\" id=\"FCATLIST-$cat_id\">"; + print "<li id=\"feedCatHolder\" class=\"$holder_class\"><ul class=\"feedCatList\" id=\"FCATLIST-$cat_id\" style='$holder_style'>"; } printFeedEntry($feed_id, $class, $feed, $unread, |