Skip to content
This repository
Browse code

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
authored August 05, 2011

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  js/jquery.mobile.page.sections.js
4  js/jquery.mobile.page.sections.js
@@ -79,7 +79,9 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
79 79
 
80 80
 		} else if ( role === "content" ) {
81 81
 
82  
-			$this.addClass( "ui-body-" + ( theme || pageTheme || o.contentTheme ) );
  82
+			if (theme || o.contentTheme) {
  83
+			    $this.addClass( "ui-body-" + ( theme || o.contentTheme ) );
  84
+			}
83 85
 
84 86
 			// Add ARIA role
85 87
 			$this.attr( "role", "main" );

0 notes on commit 28eebc2

Please sign in to comment.
Something went wrong with that request. Please try again.