Has anyone come up with a solution for this? I have a drop down menu that displays the submenu on hover of a parent element.
I use jquery to disable default behavior so that on click of the parent element the submenu is shown. But now I want on the second click the default behavior to be enabled again. Anyone any ideas. This is the code I use to prevent default behavior: