Closed lucasdidur closed 5 years ago
Changed to make in render template check if a parent menu is active when they has a class to collapse
if($item->hasChildren()){ $item->link->attr('class', 'accordion-toggle'); $item->checkActivation(); }
I needed to change to public because the theme I'm using has 2 modes of activation.
One is to expand the accordion and another is the active one.
'active_class' => 'menu-open'
https://pastebin.com/re9ujh4x
Released as v1.3.1
Changed to make in render template check if a parent menu is active when they has a class to collapse