mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-20 20:31:52 +00:00
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.
This commit is contained in:
parent
fef4b200a6
commit
aec206b712
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue