1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

make feedlist collapsable

This commit is contained in:
Andrew Dolgov
2008-02-20 06:27:16 +01:00
parent b16754c3a4
commit 8389b15082
3 changed files with 59 additions and 1 deletions
+16
View File
@@ -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);
}
}