Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed missing variable in menu's refresh method.
- Loading branch information
Showing
with
3 additions
and
1 deletion.
-
+3
−1
ui/jquery.ui.autocomplete.js
|
|
@@ -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); |