Browse files

Fix for issue #4019 - Persistent headers and footers placed under con…

…tent after transition - Header and footer were both being appended broke out to prepend header and append footer.
  • Loading branch information...
1 parent 7f27938 commit d995dfe0857f13c6cc16e80edea8e248f450279c @arschmitz committed Oct 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/widgets/fixedToolbar.js
View
3 js/widgets/fixedToolbar.js
@@ -157,7 +157,8 @@ define( [ "jquery", "../jquery.mobile.widget", "../jquery.mobile.core", "../jque
nextFooter.add( nextHeader ).appendTo( $.mobile.pageContainer );
ui.nextPage.one( "pageshow", function() {
- nextFooter.add( nextHeader ).appendTo( this );
+ nextHeader.prependTo( this );
+ nextFooter.appendTo( this );
});
}
}

0 comments on commit d995dfe

Please sign in to comment.