From 4f8c913b4af04398b2521b80aef7d1c1082cd86c Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Thu, 17 Mar 2011 11:51:38 +0100 Subject: [PATCH] Menu: menubar cleanup --- tests/visual/menu/menubar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/visual/menu/menubar.js b/tests/visual/menu/menubar.js index af431f43b..63fc34e84 100644 --- a/tests/visual/menu/menubar.js +++ b/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(""); - self._hoverable(input) if (o.menuIcon) { input.addClass("ui-state-default").append(""); -- 2.39.5