Skip to content

Commit f789706

Browse files
author
scottjehl
committed
Merge remote branch 'origin/master'
2 parents 0dbc08a + d120404 commit f789706

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/jquery.mobile.page.sections.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
7979

8080
} else if ( role === "content" ) {
8181

82-
$this.addClass( "ui-body-" + ( theme || pageTheme || o.contentTheme ) );
82+
if (theme || o.contentTheme) {
83+
$this.addClass( "ui-body-" + ( theme || o.contentTheme ) );
84+
}
8385

8486
// Add ARIA role
8587
$this.attr( "role", "main" );

0 commit comments

Comments
 (0)