Skip to content
Permalink
Browse files

Add comment explaining the mouseHandled flag

  • Loading branch information
kborchers committed Dec 30, 2012
1 parent e3ab5f8 commit 5561f5db1206b3c8d00f480b1b1ea7d6aa2fa84a
Showing with 2 additions and 0 deletions.
  1. +2 −0 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()

0 comments on commit 5561f5d

Please sign in to comment.
You can’t perform that action at this time.