Permalink
Browse files

Controlgroup: Set shadow on the inner wrapper. Fixes #5817.

  • Loading branch information...
jaspermdegroot committed Apr 26, 2013
1 parent 83ec301 commit ba3f8fa2e07bf7861988b7e2db0ec9514734c938
Showing with 2 additions and 2 deletions.
  1. +1 −1 css/structure/jquery.mobile.controlgroup.css
  2. +1 −1 js/widgets/controlgroup.js
@@ -146,7 +146,7 @@ fieldset.ui-controlgroup.ui-mini {
-webkit-border-bottom-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.ui-controlgroup .ui-shadow:not(.ui-focus) {
.ui-controlgroup .ui-btn.ui-shadow:not(.ui-focus) {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
@@ -60,7 +60,7 @@ $.widget( "mobile.controlgroup", $.mobile.widget, $.extend( {
}
if ( o.shadow !== undefined ) {
$el.toggleClass( "ui-shadow", o.shadow );
$el.find( ".ui-controlgroup-controls" ).toggleClass( "ui-shadow", o.shadow );
}
if ( o.mini !== undefined ) {

0 comments on commit ba3f8fa

Please sign in to comment.