diff --git a/linkstore/static/linkstore/js/collapse.js b/linkstore/static/linkstore/js/collapse.js index d1b14df..8852410 100644 --- a/linkstore/static/linkstore/js/collapse.js +++ b/linkstore/static/linkstore/js/collapse.js @@ -20,6 +20,7 @@ function collapse_all () { content = colls[i].nextElementSibling; if (content.style.display === "block") { content.style.display = "none"; + colls[i].classList.toggle("active"); } } }