mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-23 15:44:43 +00:00
Ensures that dialogs’ content elements _do_ inherit the overall page theme.
This commit is contained in:
parent
b78584b964
commit
f016c2dc21
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
|
|||
var $this = $( this ),
|
||||
role = $this.jqmData( "role" ),
|
||||
theme = $this.jqmData( "theme" ),
|
||||
contentTheme = theme || o.contentTheme,
|
||||
contentTheme = theme || o.contentTheme || ( pageRole === "dialog" && pageTheme ),
|
||||
$headeranchors,
|
||||
leftbtn,
|
||||
rightbtn,
|
||||
|
|
|
|||
Loading…
Reference in a new issue