mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Menubar: Don't close active menu on mouseenter of associated button
This commit is contained in:
parent
80d6d358f2
commit
c0f7afd160
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user