]> source.dussan.org Git - jquery-ui.git/commitdiff
Line 58: document click function was missing event parameter
authormaggiewachs <maggie@filamentgroup.com>
Thu, 24 Feb 2011 16:16:15 +0000 (11:16 -0500)
committermaggiewachs <maggie@filamentgroup.com>
Thu, 24 Feb 2011 16:16:15 +0000 (11:16 -0500)
tests/visual/menu/menubar.js

index 5b7bc7eb739727b9d9851b57b3aa574455596f15..9bb3f38e99a541518637254c8cd3bae0e5b04d1a 100644 (file)
@@ -55,7 +55,7 @@ $.widget("ui.menubar", {
                                }
                        });
                });
-               $(document).click(function() {
+               $(document).click(function(event) {
                        !$(event.target).closest(".ui-menubar").length && items.next("ul").hide();
                });
        },