Brought back the page content div theme inheritance from b1. Thanks to abdulqadir for the suggestion. Fixes #2221

This commit is contained in:
scottjehl 2011-08-05 09:58:25 -04:00
parent 4c3ecdef47
commit 28eebc25de

View file

@ -79,7 +79,9 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
} else if ( role === "content" ) {
$this.addClass( "ui-body-" + ( theme || pageTheme || o.contentTheme ) );
if (theme || o.contentTheme) {
$this.addClass( "ui-body-" + ( theme || o.contentTheme ) );
}
// Add ARIA role
$this.attr( "role", "main" );