Skip to content

Commit 0a84a9e

Browse files
committed
Merge pull request jquery-archive#2783 from MauriceG/patch-14
fix for issue jquery-archive#2776: Select full page menus background wrong color.
2 parents efe1896 + 6e536eb commit 0a84a9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$.widget( "mobile.dialog", $.mobile.widget, {
1010
options: {
1111
closeBtnText : "Close",
12-
theme : "a",
12+
dialogTheme : "a",
1313
initSelector : ":jqmData(role='dialog')"
1414
},
1515
_create: function() {
@@ -22,7 +22,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
2222
$el.removeClass( pageTheme[ 0 ] );
2323
}
2424

25-
$el.addClass( "ui-body-" + this.options.theme );
25+
$el.addClass( "ui-body-" + this.options.dialogTheme );
2626

2727
// Class the markup for dialog styling
2828
// Set aria role

0 commit comments

Comments
 (0)