]> source.dussan.org Git - jquery-ui.git/commitdiff
Added ui-* classes to widget container
authormaggiewachs <maggie@filamentgroup.com>
Thu, 24 Feb 2011 16:06:12 +0000 (11:06 -0500)
committermaggiewachs <maggie@filamentgroup.com>
Thu, 24 Feb 2011 16:06:12 +0000 (11:06 -0500)
tests/visual/menu/menubar.js

index 8870e068ae97d224cdc8b83e39fed9e2c73d52aa..5b7bc7eb739727b9d9851b57b3aa574455596f15 100644 (file)
@@ -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) {