Skip to content
Permalink
Browse files

Menubar: Don't close active menu on mouseenter of associated button

  • Loading branch information
jzaefferer committed Mar 17, 2011
1 parent 80d6d35 commit c0f7afd16037940df969af9f1f3d5ffe73bcff5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/visual/menu/menubar.js
@@ -56,7 +56,7 @@ $.widget("ui.menubar", {
}
event.preventDefault();
event.stopPropagation();
if (menu.is(":visible") && self.active && self.active[0] == menu[0]) {
if (event.type == "click" && menu.is(":visible") && self.active && self.active[0] == menu[0]) {
self._close();
return;
}

0 comments on commit c0f7afd

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