Permalink
Browse files

Fix for #2881 - @wilto Could you please review this:

Add the ui-overlay-shadow class to both, content and, if there, to the footer.
Then add the ui-corner-bottom-class to the last one.
  • Loading branch information...
1 parent fef4b20 commit aec206b71242da62ac1d6bab101c6968b84dc430 @MauriceG MauriceG committed Oct 29, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/jquery.mobile.dialog.js
@@ -33,8 +33,9 @@ $.widget( "mobile.dialog", $.mobile.widget, {
.prepend( headerCloseButton )
.end()
.find( ":jqmData(role='content'),:jqmData(role='footer')" )
+ .addClass( "ui-overlay-shadow" )
.last()
- .addClass( "ui-corner-bottom ui-overlay-shadow" );
+ .addClass( "ui-corner-bottom" );
// this must be an anonymous function so that select menu dialogs can replace
// the close method. This is a change from previously just defining data-rel=back

0 comments on commit aec206b

Please sign in to comment.