mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Add comment explaining the mouseHandled flag
This commit is contained in:
parent
e3ab5f811a
commit
5561f5db12
2
ui/jquery.ui.menu.js
vendored
2
ui/jquery.ui.menu.js
vendored
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user