aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/menu/menubar.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/visual/menu/menubar.js b/tests/visual/menu/menubar.js
index 8870e068a..5b7bc7eb7 100644
--- a/tests/visual/menu/menubar.js
+++ b/tests/visual/menu/menubar.js
@@ -10,6 +10,9 @@ $.widget("ui.menubar", {
_create: function() {
var self = this;
var items = this.element.children("button, a");
+
+ this.element.addClass('ui-menubar ui-widget-header ui-helper-clearfix');
+
items.next("ul").each(function(i, elm) {
$(elm).menu({
select: function(event, ui) {