Skip to content

Commit 1c3a4c7

Browse files
committed
Merge pull request jquery-archive#2883 from MauriceG/patch-2
Fix for jquery-archive#2881 - Inconsistent background (box-shadow) on themeless dialogs.
2 parents 7bf9af7 + aec206b commit 1c3a4c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/jquery.mobile.dialog.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ $.widget( "mobile.dialog", $.mobile.widget, {
3333
.prepend( headerCloseButton )
3434
.end()
3535
.find( ":jqmData(role='content'),:jqmData(role='footer')" )
36+
.addClass( "ui-overlay-shadow" )
3637
.last()
37-
.addClass( "ui-corner-bottom ui-overlay-shadow" );
38+
.addClass( "ui-corner-bottom" );
3839

3940
// this must be an anonymous function so that select menu dialogs can replace
4041
// the close method. This is a change from previously just defining data-rel=back

0 commit comments

Comments
 (0)