diff options
-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 5b7bc7eb7..9bb3f38e9 100644 --- a/tests/visual/menu/menubar.js +++ b/tests/visual/menu/menubar.js @@ -55,7 +55,7 @@ $.widget("ui.menubar", { } }); }); - $(document).click(function() { + $(document).click(function(event) { !$(event.target).closest(".ui-menubar").length && items.next("ul").hide(); }); }, |