Skip to content

Commit aa8c477

Browse files
committed
Menu: Update the default visual test to use the new menus option that replaced the items option
1 parent 1748b5f commit aa8c477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/visual/menu/menu.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
select: function(event, ui) {
2929
$("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
3030
},
31-
items: "div"
31+
menus: "div"
3232
});
3333

3434
$("#menu6").menu({
3535
select: function(event, ui) {
3636
$("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
3737
},
38-
items: ".menuElement"
38+
menus: ".menuElement"
3939
});
4040
}
4141

0 commit comments

Comments
 (0)