diff options
author | kborchers <kris.borchers@gmail.com> | 2011-12-01 12:39:16 -0600 |
---|---|---|
committer | kborchers <kris.borchers@gmail.com> | 2011-12-01 12:39:16 -0600 |
commit | ce7918fc73c161ab237f052bad070e34250526be (patch) | |
tree | 146cfea9ea2e8d5aa88041975efdc3729fd69a1c | |
parent | 8b9ec2b861524ca6fe8078fee2f3b6081ca381a9 (diff) | |
download | jquery-ui-ce7918fc73c161ab237f052bad070e34250526be.tar.gz jquery-ui-ce7918fc73c161ab237f052bad070e34250526be.zip |
Menu: Change items option to menus
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 77190189e..0263cff65 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -20,7 +20,7 @@ $.widget( "ui.menu", { defaultElement: "<ul>", delay: 150, options: { - items: "ul", + menus: "ul", position: { my: "left top", at: "right top" @@ -250,7 +250,7 @@ $.widget( "ui.menu", { refresh: function() { // initialize nested menus - var submenus = this.element.find( this.options.items + ":not( .ui-menu )" ) + var submenus = this.element.find( this.options.menus + ":not( .ui-menu )" ) .addClass( "ui-menu ui-widget ui-widget-content ui-corner-all" ) .attr( "role", "menu" ) .hide() |