aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.menu.js
diff options
context:
space:
mode:
authorDan Wellman <danwellman@hotmail.com>2011-12-12 23:50:15 +0000
committerDan Wellman <danwellman@hotmail.com>2011-12-12 23:50:15 +0000
commita6fbbc573941679f1217a72b9ab5089f2ebfae69 (patch)
treeeb00ed2387160e528b4ab04b0f88b6277a30d919 /ui/jquery.ui.menu.js
parentc1c0827c67de6d52936d7b1906051ab7be95827b (diff)
parentc00b685cb824fe940226be041067b0b9c44ba983 (diff)
downloadjquery-ui-a6fbbc573941679f1217a72b9ab5089f2ebfae69.tar.gz
jquery-ui-a6fbbc573941679f1217a72b9ab5089f2ebfae69.zip
Merge branch 'selectmenu' of git://github.com/jquery/jquery-ui into selectmenu
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r--ui/jquery.ui.menu.js4
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()