diff --git a/js/jquery.mobile.dialog.js b/js/jquery.mobile.dialog.js index 74552015..4e05f069 100644 --- a/js/jquery.mobile.dialog.js +++ b/js/jquery.mobile.dialog.js @@ -9,7 +9,7 @@ $.widget( "mobile.dialog", $.mobile.widget, { options: { closeBtnText : "Close", - theme : "a", + dialogTheme : "a", initSelector : ":jqmData(role='dialog')" }, _create: function() { @@ -22,7 +22,7 @@ $.widget( "mobile.dialog", $.mobile.widget, { $el.removeClass( pageTheme[ 0 ] ); } - $el.addClass( "ui-body-" + this.options.theme ); + $el.addClass( "ui-body-" + this.options.dialogTheme ); // Class the markup for dialog styling // Set aria role