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:
+16
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user