Skip to content
Permalink
Browse files

Another partial fix for #5188 - add ui-menu-item class only to list i…

…tems with anchor-children
  • Loading branch information
jzaefferer committed Feb 16, 2010
1 parent 4f47150 commit 8c1f4da31a5f505269f4e171387cf0f29e1b36d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.autocomplete.js
@@ -328,7 +328,7 @@ $.widget("ui.menu", {
var self = this;

// don't refresh list items that are already adapted
var items = this.element.children("li:not(.ui-menu-item)")
var items = this.element.children("li:not(.ui-menu-item):has(a)")
.addClass("ui-menu-item")
.attr("role", "menuitem");

0 comments on commit 8c1f4da

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