Line 124:
/* When using hover expansion:
* - Add mouse-hovering events.
*/
else if (settings.nav == 'hover') {
link.mouseenter(function(e) {
if (li.hasClass('active-trail') && li.hasClass('expanded')) {
li.removeClass('expanded').addClass('start-collapsed');
li.removeClass('active-trail');
}
Drupal.dhtmlMenu.switchMenu(li, link, ul, true);
});
Replace li.mouseleave(function(e)
with
ul.mouseleave(function(e)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | dhtml_menu-abs_pos-no_active_trail.patch | 1.27 KB | lord_bosco |
| #1 | dhtml_menu-absolute_positioning-no_active_trail.patch | 838 bytes | lord_bosco |
| dhtml_menu-absolute_positioning-no_active_trail.patch | 0 bytes | lord_bosco |
Comments
Comment #1
lord_bosco commentedComment #2
lord_bosco commentedUpdated patch with fix to active trail mark up
Comment #3
vuilThe patch can not be applied to the latest 7.x-1.x-dev branch. Please check it and if need update the patch. Thank you!
Comment #4
vuilI unassigned @lord_bosco of the issue.