Skip to content
Permalink
Browse files

Menu: menubar cleanup

  • Loading branch information
jzaefferer committed Mar 17, 2011
1 parent 4a04ad2 commit 4f8c913b4af04398b2521b80aef7d1c1082cd86c
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/visual/menu/menubar.js
@@ -18,6 +18,7 @@ $.widget("ui.menubar", {

this.element.addClass('ui-menubar ui-widget-header ui-helper-clearfix');
this._focusable(items);
this._hoverable(items);
items.next("ul").each(function(i, elm) {
$(elm).menu({
select: function(event, ui) {
@@ -63,7 +64,6 @@ $.widget("ui.menubar", {
})
.addClass("ui-button ui-widget ui-button-text-only ui-menubar-link")
.wrapInner("<span class='ui-button-text'></span>");
self._hoverable(input)

if (o.menuIcon) {
input.addClass("ui-state-default").append("<span class='ui-button-icon-secondary ui-icon ui-icon-triangle-1-s'></span>");

0 comments on commit 4f8c913

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