diff options
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js index 7a373b718..e94cf12af 100644 --- a/feedlist.js +++ b/feedlist.js @@ -348,6 +348,8 @@ function feedlist_init() { if (getInitParam("hide_feedlist") == 1) { init_hidden_feedlist(); + } else { + init_collapsable_feedlist(); } } @@ -412,3 +414,17 @@ function init_hidden_feedlist() { exception_error("init_hidden_feedlist", e); } } + +function init_collapsable_feedlist() { + try { + debug("init_collapsable_feedlist"); + + var fbtn = document.getElementById("collapse_feeds_btn"); + + if (fbtn) Element.show(fbtn); + + } catch (e) { + exception_error("init_hidden_feedlist", e); + } + +} |