add default collapse feature for layout
This commit is contained in:
parent
18d4162c7e
commit
613a342e01
|
@ -5,7 +5,7 @@
|
||||||
%>
|
%>
|
||||||
<% if data["categories"].length == 1 %>
|
<% if data["categories"].length == 1 %>
|
||||||
<script>
|
<script>
|
||||||
$("#main-content .panel-collapse").addClass("in");
|
$("#main-content .panel-collapse").not('.default-collapse .panel-collapse').addClass("in");
|
||||||
</script>
|
</script>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if total_pages > 1 %>
|
<% if total_pages > 1 %>
|
||||||
|
|
Loading…
Reference in New Issue