From b3af99a0c527dc0c9cfcf4579dd78f5b6d4e8d31 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 15 Jan 2010 13:43:17 +0300 Subject: theme system updates; remove old-skool theme; add neutral theme --- feedlist.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'feedlist.js') 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"); -- cgit v1.2.3