diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 3c445eca1..a666e934d 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -38,6 +38,8 @@ $.widget( "ui.menu", { _create: function() { this.activeMenu = this.element; + // flag used to prevent firing of the click handler + // as the event bubbles up through nested menus this.mouseHandled = false; this.element .uniqueId()