summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-15 13:43:17 +0300
committerAndrew Dolgov <[email protected]>2010-01-15 13:43:17 +0300
commitb3af99a0c527dc0c9cfcf4579dd78f5b6d4e8d31 (patch)
tree70189ecebd5ef05967a3907e073a753d29970396 /feedlist.js
parent5499ab51eb682a1313208a13353d8420c7f21b45 (diff)
theme system updates; remove old-skool theme; add neutral theme
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js8
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");