Skip to content

Commit 4c5e85c

Browse files
committed
Correctly addresses jquery-archive#3020 — “Content” elements now correctly apply themes, but do not inherit the theme set on the overall page.
1 parent e7a3623 commit 4c5e85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.page.sections.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $( ":jqmData(role='page'), :jqmData(role='dialog')" ).live( "pagecreate", functi
2222
var $this = $( this ),
2323
role = $this.jqmData( "role" ),
2424
theme = $this.jqmData( "theme" ),
25-
contentTheme = theme || o.contentTheme || pageTheme,
25+
contentTheme = theme || o.contentTheme,
2626
$headeranchors,
2727
leftbtn,
2828
rightbtn,

0 commit comments

Comments
 (0)