Add comment explaining the mouseHandled flag

This commit is contained in:
Kris Borchers 2012-12-29 20:08:05 -06:00
parent e3ab5f811a
commit 5561f5db12

View File

@ -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()