aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormaggiewachs <maggie@filamentgroup.com>2011-02-24 11:06:12 -0500
committermaggiewachs <maggie@filamentgroup.com>2011-02-24 11:06:12 -0500
commit9340da37b7a94c2dbef5749f813bd083835d2ac9 (patch)
tree248b2c30f4eb3c9468685522d474f1539e987393 /tests
parent7b3a4e71d3efcd80c7f75959de3ee9800e09f8dc (diff)
downloadjquery-ui-9340da37b7a94c2dbef5749f813bd083835d2ac9.tar.gz
jquery-ui-9340da37b7a94c2dbef5749f813bd083835d2ac9.zip
Added ui-* classes to widget container
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) {