diff options
author | Andrew Dolgov <[email protected]> | 2010-01-15 13:43:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-15 13:43:17 +0300 |
commit | b3af99a0c527dc0c9cfcf4579dd78f5b6d4e8d31 (patch) | |
tree | 70189ecebd5ef05967a3907e073a753d29970396 /feedlist.js | |
parent | 5499ab51eb682a1313208a13353d8420c7f21b45 (diff) |
theme system updates; remove old-skool theme; add neutral theme
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/feedlist.js b/feedlist.js index bb3f3bf75..8f623920e 100644 --- a/feedlist.js +++ b/feedlist.js @@ -555,12 +555,14 @@ function init_hidden_feedlist(theme) { } } */ -function init_collapsable_feedlist(theme) { +function init_collapsable_feedlist() { try { debug("init_collapsable_feedlist"); - if (theme != "" && theme != "compact" && theme != "graycube" && - theme != "compat") return; + var theme = getInitParam("theme"); + var options = getInitParam("theme_options"); + + if (theme != "" && !options.match("collapse_feedlist")) return; var fbtn = $("collapse_feeds_btn"); |