Controlgroup: Fix line length issues

Ref gh-1690
This commit is contained in:
Alexander Schmitz
2016-03-30 23:42:01 -04:00
committed by Scott González
parent c57f4e5ced
commit fcf97a033f

View File

@@ -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() );