collapse_feedlist: also toggle splitter

This commit is contained in:
Andrew Dolgov 2017-01-22 17:46:11 +03:00
parent a86255572a
commit b1a80693b1

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) {