[jQuery] Entire jdMenu Hides / Disappears when menu item clicked
I am using jdMenu 1.4.1 with the latest jQuery. I just built a normal
menu with some custom css, but no custom javascript. Everything is
default as far as I know.
The problem I am having is that whenever I click a link that does not
have a sub-menu, the entire menu (main jd_menu UL) disappears. I can
disable this problem by commenting out line 57 in the source code:
if ( settings.disableLinks ||
( !settings.disableLinks && !$
(this).parent().hasClass('jd_menu') ) ) {
//$(this).parent().jdMenuHide(); // <== what I commented out
evt.stopPropagation();
}
But I am not sure what else that might affect.
If you need more information, please let me know.