aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2011-03-17 11:51:38 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2011-03-17 11:51:38 +0100
commit4f8c913b4af04398b2521b80aef7d1c1082cd86c (patch)
tree327a387318920d810ef0aa789d9ad5410d28c3ae
parent4a04ad2019793f47cb538bdf3e20873fc1e93e0a (diff)
downloadjquery-ui-4f8c913b4af04398b2521b80aef7d1c1082cd86c.tar.gz
jquery-ui-4f8c913b4af04398b2521b80aef7d1c1082cd86c.zip
Menu: menubar cleanup
-rw-r--r--tests/visual/menu/menubar.js2
1 files changed, 1 insertions, 1 deletions
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("<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>");