From 0b6cffa868eba2c308454c6042b4da1f605c7145 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Feb 2008 13:38:38 +0100 Subject: block HIDE_FEEDLIST (refs #196) --- feedlist.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'feedlist.js') diff --git a/feedlist.js b/feedlist.js index 88220ccf6..782cb3a19 100644 --- a/feedlist.js +++ b/feedlist.js @@ -40,11 +40,11 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { cache_invalidate("F:" + feed); } - if (getInitParam("theme") == "" || getInitParam("theme") == "compact") { +/* if (getInitParam("theme") == "" || getInitParam("theme") == "compact") { if (getInitParam("hide_feedlist") == 1) { Element.hide("feeds-holder"); } - } + } */ var force_nocache = false; @@ -346,11 +346,13 @@ function feedlist_init() { setTimeout("hide_footer()", 5000); } - if (getInitParam("hide_feedlist") == 1) { +/* if (getInitParam("hide_feedlist") == 1) { init_hidden_feedlist(getInitParam("theme")); } else { init_collapsable_feedlist(getInitParam("theme")); - } + } */ + + init_collapsable_feedlist(getInitParam("theme")); } catch (e) { exception_error("feedlist/init", e); @@ -386,6 +388,7 @@ function hide_footer() { } } +/* function init_hidden_feedlist(theme) { try { debug("init_hidden_feedlist"); @@ -421,7 +424,7 @@ function init_hidden_feedlist(theme) { } catch (e) { exception_error("init_hidden_feedlist", e); } -} +} */ function init_collapsable_feedlist(theme) { try { -- cgit v1.2.3