diff --git a/js/jQuery.mobile.controlGroup.js b/js/jQuery.mobile.controlGroup.js index da6e50f9..ad322f96 100644 --- a/js/jQuery.mobile.controlGroup.js +++ b/js/jQuery.mobile.controlGroup.js @@ -16,9 +16,13 @@ $.fn.controlgroup = function(options){ flCorners = o.direction == 'horizontal' ? ['ui-corner-left', 'ui-corner-right'] : ['ui-corner-top', 'ui-corner-bottom'], type = $(this).find('input:eq(0)').attr('type'); + $(this).wrapInner('
'); + //replace legend with more stylable replacement div - $('