mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Fix issue with sticking Concepts in sidebar
This commit is contained in:
parent
49115b682b
commit
8efaf5c159
@ -10,11 +10,11 @@
|
||||
|
||||
{% assign active = "" %}
|
||||
{% assign childurlfolder = child.url | append: '/' %}
|
||||
{% if pageurl == child.url or pageurl == childurlfolder %}
|
||||
{% if child.url and (pageurl == child.url or pageurl == childurlfolder) %}
|
||||
{% assign active = "active bd-sidenav-active" %}
|
||||
{% endif %}
|
||||
|
||||
<li class="hello {{active}}">
|
||||
<li class="{{active}}">
|
||||
{% assign childid = include.id | append: '_' | append: forloop.index %}
|
||||
{% include f_sidebar_nav.html item=child id=childid %}
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user