Permalink
Browse files

Fixes #3496 - enable use of controlgroup function to refresh controlg…

…roup
  • Loading branch information...
1 parent 10d5e77 commit 2bab3215f7375dc03204c6e3707895571de1cde7 @jaspermdegroot jaspermdegroot committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.controlGroup.js
View
2 js/jquery.mobile.controlGroup.js
@@ -10,7 +10,7 @@ define( [ "jquery", "./jquery.mobile.buttonMarkup" ], function( $ ) {
$.fn.controlgroup = function( options ) {
function flipClasses( els, flCorners ) {
- els.removeClass( "ui-btn-corner-all ui-shadow" )
+ els.removeClass( "ui-btn-corner-all ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-controlgroup-last ui-shadow" )
.eq( 0 ).addClass( flCorners[ 0 ] )
.end()
.last().addClass( flCorners[ 1 ] ).addClass( "ui-controlgroup-last" );

0 comments on commit 2bab321

Please sign in to comment.