collapse_feedlist: also toggle splitter

This commit is contained in:
Andrew Dolgov 2017-01-22 17:46:11 +03:00
parent a86255572a
commit b1a80693b1
1 changed files with 4 additions and 1 deletions

View File

@ -823,9 +823,12 @@ function parse_runtime_info(data) {
function collapse_feedlist() { function collapse_feedlist() {
try { try {
Element.toggle("feeds-holder"); Element.toggle("feeds-holder");
var splitter = $("feeds-holder_splitter");
Element.visible("feeds-holder") ? splitter.show() : splitter.hide();
dijit.byId("main").resize(); dijit.byId("main").resize();
} catch (e) { } catch (e) {