Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Brought back the page content div theme inheritance from b1. Thanks t…

…o abdulqadir for the suggestion. Fixes #2221
  • Loading branch information...
commit 28eebc25de5f23615509ab1971177e7467be3f94 1 parent 4c3ecde
scottjehl authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/jquery.mobile.page.sections.js
View
4 js/jquery.mobile.page.sections.js
@@ -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" );
Please sign in to comment.
Something went wrong with that request. Please try again.