Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

parent is actually what we're looking for here, given that getInherit…

…edTheme mimics the closest() method. Fixes #3779
  • Loading branch information...
commit 054b9a47f9f6e147e76ec8f9c221092078b2f638 1 parent a53614d
scottjehl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.page.js
View
2  js/jquery.mobile.page.js
@@ -35,7 +35,7 @@ $.widget( "mobile.page", $.mobile.widget, {
},
removeContainerBackground: function(){
- $.mobile.pageContainer.removeClass( "ui-overlay-" + $.mobile.getInheritedTheme( this.element ) );
+ $.mobile.pageContainer.removeClass( "ui-overlay-" + $.mobile.getInheritedTheme( this.element.parent() ) );
},
// set the page container background to the page theme
Please sign in to comment.
Something went wrong with that request. Please try again.