diff options
Diffstat (limited to 'ui/widgets/controlgroup.js')
-rw-r--r-- | ui/widgets/controlgroup.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/widgets/controlgroup.js b/ui/widgets/controlgroup.js index ceb78c7c3..1f0da070e 100644 --- a/ui/widgets/controlgroup.js +++ b/ui/widgets/controlgroup.js @@ -86,7 +86,8 @@ return $.widget( "ui.controlgroup", { if ( widget === "controlgroupLabel" ) { labels = that.element.find( selector ); labels.each( function() { - $( this ).contents().wrapAll( "<span class='ui-controlgroup-label-contents'></span>" ); + $( this ).contents() + .wrapAll( "<span class='ui-controlgroup-label-contents'></span>" ); } ); that._addClass( labels, null, "ui-widget ui-widget-content ui-state-default" ); childWidgets = childWidgets.concat( labels.get() ); |