]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Update the default visual test to use the new menus option that replaced the...
authorkborchers <kris.borchers@gmail.com>
Wed, 7 Dec 2011 20:51:46 +0000 (14:51 -0600)
committerkborchers <kris.borchers@gmail.com>
Wed, 7 Dec 2011 20:51:46 +0000 (14:51 -0600)
tests/visual/menu/menu.html

index 50837f43e19c733709706826bc10a6c20a0ddda5..0715ac7f791e88adbf0486928fab55b307d6211f 100644 (file)
                                select: function(event, ui) {
                                        $("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
                                },
-                               items: "div"
+                               menus: "div"
                        });
 
                        $("#menu6").menu({
                                select: function(event, ui) {
                                        $("<div/>").text("Selected: " + ui.item.text()).appendTo("#log");
                                },
-                               items: ".menuElement"
+                               menus: ".menuElement"
                        });
                }