mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Fixed missing variable in menu's refresh method.
This commit is contained in:
parent
84f7c90fc8
commit
0f3def0d84
4
ui/jquery.ui.autocomplete.js
vendored
4
ui/jquery.ui.autocomplete.js
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user