Skip to content
Permalink
Browse files

Menu: Change items option to menus

  • Loading branch information
kborchers committed Dec 1, 2011
1 parent 8b9ec2b commit ce7918fc73c161ab237f052bad070e34250526be
Showing with 2 additions and 2 deletions.
  1. +2 −2 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()

0 comments on commit ce7918f

Please sign in to comment.
You can’t perform that action at this time.