diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2011-03-17 15:47:56 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2011-03-17 15:47:56 +0100 |
commit | c0f7afd16037940df969af9f1f3d5ffe73bcff5b (patch) | |
tree | 8661b405bf4330367e61bfaa5d47d423d14efd4a /tests/visual/menu | |
parent | 80d6d358f235d89ff541bf3d1885a6708c463774 (diff) | |
download | jquery-ui-c0f7afd16037940df969af9f1f3d5ffe73bcff5b.tar.gz jquery-ui-c0f7afd16037940df969af9f1f3d5ffe73bcff5b.zip |
Menubar: Don't close active menu on mouseenter of associated button
Diffstat (limited to 'tests/visual/menu')
-rw-r--r-- | tests/visual/menu/menubar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visual/menu/menubar.js b/tests/visual/menu/menubar.js index 40ac2819d..6c8173cd9 100644 --- a/tests/visual/menu/menubar.js +++ b/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; } |