mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
fixed theming of dialog body so it'll get C if no theme specified. Fixes #398
This commit is contained in:
parent
10e9f42d8a
commit
734fb4d9b5
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ $.widget( "mobile.dialog", $.mobile.widget, {
|
|||
.addClass('ui-corner-top ui-overlay-shadow')
|
||||
.prepend( $closeBtn )
|
||||
.end()
|
||||
.find('.ui-content:not([class*="ui-body-"])')
|
||||
.addClass('ui-body-c')
|
||||
.end()
|
||||
.find('.ui-content,[data-role=footer]')
|
||||
.last()
|
||||
.addClass('ui-corner-bottom ui-overlay-shadow');
|
||||
|
|
|
|||
Loading…
Reference in a new issue