aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authormaggiewachs <maggie@filamentgroup.com>2011-02-24 11:16:15 -0500
committermaggiewachs <maggie@filamentgroup.com>2011-02-24 11:16:15 -0500
commitaf0db70ae4b0d70de515f1ad11ae1613588c0e7f (patch)
treec056691628c7cb828d8f542436275fb832e2c951 /tests/visual
parentb50fa469a4c1491d15664b0d95149881acf8742d (diff)
downloadjquery-ui-af0db70ae4b0d70de515f1ad11ae1613588c0e7f.tar.gz
jquery-ui-af0db70ae4b0d70de515f1ad11ae1613588c0e7f.zip
Line 58: document click function was missing event parameter
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/menu/menubar.js2
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();
});
},