Skip to content

Commit af0db70

Browse files
author
maggiewachs
committed
Line 58: document click function was missing event parameter
1 parent b50fa46 commit af0db70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/visual/menu/menubar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $.widget("ui.menubar", {
5555
}
5656
});
5757
});
58-
$(document).click(function() {
58+
$(document).click(function(event) {
5959
!$(event.target).closest(".ui-menubar").length && items.next("ul").hide();
6060
});
6161
},

0 commit comments

Comments
 (0)