add default collapse feature for layout

This commit is contained in:
邱博亞 2024-08-27 22:39:28 +08:00
parent 18d4162c7e
commit 613a342e01
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
%>
<% if data["categories"].length == 1 %>
<script>
$("#main-content .panel-collapse").addClass("in");
$("#main-content .panel-collapse").not('.default-collapse .panel-collapse').addClass("in");
</script>
<% end %>
<% if total_pages > 1 %>