1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:25:54 +00:00

add toggle_sidebar plugin, remove obsolete toggle button

add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
This commit is contained in:
Andrew Dolgov
2017-01-07 15:29:17 +03:00
parent 4822485a74
commit 6293d3717c
5 changed files with 42 additions and 12 deletions

View File

@@ -822,13 +822,7 @@ function parse_runtime_info(data) {
function collapse_feedlist() {
try {
if (!Element.visible('feeds-holder')) {
Element.show('feeds-holder');
$("collapse_feeds_btn").innerHTML = "<<";
} else {
Element.hide('feeds-holder');
$("collapse_feeds_btn").innerHTML = ">>";
}
Element.toggle("feeds-holder");
dijit.byId("main").resize();