From af0db70ae4b0d70de515f1ad11ae1613588c0e7f Mon Sep 17 00:00:00 2001 From: maggiewachs Date: Thu, 24 Feb 2011 11:16:15 -0500 Subject: Line 58: document click function was missing event parameter --- tests/visual/menu/menubar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/visual') 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(); }); }, -- cgit v1.2.3