Re: Manually setting submenu left/right direction

Home Forums Older releases 0.9.x Manually setting submenu left/right direction Re: Manually setting submenu left/right direction

#1597
CCharabaruk
Participant

I figured out what I needed to do; without a guard to skip the whole operation on lower-level submenus I’d end up in a deadly cycle. The solution was to add this as the first line of the event handler:

if ($(menu).parentsUntil('#main-menu').length != 1) return;

Now it works just fine.

Register

You will be emailed a link to set your password.

Login

Lost password?