Skip to content

Commit

Permalink
Update navigation.phtml
Browse files Browse the repository at this point in the history
show submenu, if active
  • Loading branch information
maxgu committed Nov 28, 2015
1 parent db6e15c commit d11d86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/partial/navigation.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $container = $this->container;
</span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu" style="display: none;">
<ul class="treeview-menu <?php if ($page->isActive(true)) echo 'menu-open' ?>" <?php if (!$page->isActive(true)) echo 'style="display: none;"' ?>>
<?php foreach ($page->getPages() as $child): ?>
<?php if (!$this->navigation()->accept($child)) continue; ?>
<?php if ($child->get("separator") === true): ?>
Expand Down

0 comments on commit d11d86c

Please sign in to comment.