Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Brought back the page content div theme inheritance from b1. Thanks t…
…o abdulqadir for the suggestion. Fixes #2221
  • Loading branch information
scottjehl committed Aug 5, 2011
1 parent 4c3ecde commit 28eebc25de5f23615509ab1971177e7467be3f94
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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" );

0 comments on commit 28eebc2

Please sign in to comment.