Fixed missing variable in menu's refresh method.

This commit is contained in:
Scott González 2010-02-12 21:17:00 +00:00
parent 84f7c90fc8
commit 0f3def0d84

View File

@ -320,6 +320,8 @@ $.widget("ui.menu", {
},
refresh: function() {
var self = this;
// don't refresh list items that are already adapted
var items = this.element.children("li:not(.ui-menu-item)")
.addClass("ui-menu-item")
@ -454,4 +456,4 @@ $.widget("ui.menu", {
}
});
})(jQuery);
})(jQuery);