mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-03 12:24:46 +00:00
Merge remote branch 'origin/master'
This commit is contained in:
commit
f78970618c
1 changed files with 3 additions and 1 deletions
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue