Active
Project:
DHTML Menu
Version:
7.x-1.0-beta1
Component:
Graceful degradation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2011 at 14:03 UTC
Updated:
5 Apr 2011 at 14:09 UTC
With D7 and the 1.0-beta1 version, with the "No collapse" option selected both collapsed and expanded class are set, collapsed being correctly removed for expanded menus.
Comments
Comment #1
gemp commentedHacked the dhtml_menu.theme.inc file adding line 51:
$variables['element']['#attributes']['class'] = preg_replace('/ ?expanded ?/', '', $variables['element']['#attributes']['class']);Not very clean, but well, it works ^^