diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js index 9e6fd4f..362aed1 100644 --- a/ogcp/static/js/ogcp.js +++ b/ogcp/static/js/ogcp.js @@ -187,6 +187,8 @@ function keepReposTreeState() { repos_tree.each(function () { if (localStorage.getItem(this.id) == 'show') { $(this).collapse('show'); + } else { + $(this).siblings('a').addClass('collapsed'); } }); } diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index e924fe1..b9042fd 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ - +